Skip to content

Instantly share code, notes, and snippets.

@mxygem
Created October 14, 2017 04:05
Show Gist options
  • Save mxygem/85eb6bd53e0e217c90eb7d085d52ef24 to your computer and use it in GitHub Desktop.
Save mxygem/85eb6bd53e0e217c90eb7d085d52ef24 to your computer and use it in GitHub Desktop.
playtime: bin/rake
Running via Spring preloader in process 95869
/Users/jsmith/.rbenv/versions/2.4.1/bin/ruby -I/Users/jsmith/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib:/Users/jsmith/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-support-3.6.0/lib /Users/jsmith/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
Randomized with seed 42962
.............................................................................................................................................................FFFFFFFFF................................................................................................................................................................................
Failures:
1) Pledging an item: As the pledging user I can re-pledge an item to increment its quantity
Failure/Error: expect(page).to have_text "Number pledged 2"
expected to find text "Number pledged 2" in "Home(current) Wishlists Wishlist #92 Wishlist #93 Hello, Bill Gates Log Out × Pledge was successfully created. You pledged to donate \"Louis the Corgi\" Thanks for being a Hero of Play! On behalf of the children and families we serve, thank you! ♥ Louis the Corgi Wishlist Wishlist #93 Number pledged 1 (Edit) (Unpledge) Pledged on October 14th, 2017 04:04 Didn't mean to pledge? Unpledge item Manage your pledge here or on your user page. Back to Wishlist #93 | Back to user page"
# ./spec/features/pledging_an_item_spec.rb:99:in `block (3 levels) in <top (required)>'
2) Pledging an item: As the pledging user I can edit the quantity of my pledge
Failure/Error: within(".pledge") { click_link "Edit" }
Capybara::ElementNotFound:
Unable to find css ".pledge"
# ./spec/features/pledging_an_item_spec.rb:88:in `block (3 levels) in <top (required)>'
3) Pledging an item: As the pledging user I can unpledge an item I pledged from my user page
Failure/Error: within(find_all(".pledge").first) { click_link "Unpledge" }
Nokogiri::CSS::SyntaxError:
unexpected '$' after ''
# ./spec/features/pledging_an_item_spec.rb:74:in `block (3 levels) in <top (required)>'
4) Pledging an item: As the pledging user I can unpledge an item I pledged from the pledge page
Failure/Error: within(".unpledge") { click_link "Unpledge" }
Capybara::ElementNotFound:
Unable to find css ".unpledge"
# ./spec/features/pledging_an_item_spec.rb:81:in `block (3 levels) in <top (required)>'
5) Pledging an item: As an admin I can edit the quantity of an existing pledge
Failure/Error: click_link "Edit"
Capybara::ElementNotFound:
Unable to find link "Edit"
# ./spec/features/pledging_an_item_spec.rb:121:in `block (3 levels) in <top (required)>'
6) Pledging an item: As an admin I can unpledge an existing pledge
Failure/Error:
within find_all(".pledge").first do
click_link "Unpledge"
end
Nokogiri::CSS::SyntaxError:
unexpected '$' after ''
# ./spec/features/pledging_an_item_spec.rb:131:in `block (3 levels) in <top (required)>'
7) Pledging an item: As an admin I can export pledges as a CSV file
Failure/Error: click_link "Export CSV"
Capybara::ElementNotFound:
Unable to find link "Export CSV"
# ./spec/features/pledging_an_item_spec.rb:140:in `block (3 levels) in <top (required)>'
8) Pledging an item: As an admin I can view pledge details
Failure/Error: click_link "Show"
Capybara::ElementNotFound:
Unable to find link "Show"
# ./spec/features/pledging_an_item_spec.rb:114:in `block (3 levels) in <top (required)>'
9) Pledging an item: As an admin I can view a list of pledges
Failure/Error: click_link "Pledges"
Capybara::ElementNotFound:
Unable to find link "Pledges"
# ./spec/features/pledging_an_item_spec.rb:108:in `block (3 levels) in <top (required)>'
Finished in 8.22 seconds (files took 2.86 seconds to load)
342 examples, 9 failures
Failed examples:
rspec ./spec/features/pledging_an_item_spec.rb:96 # Pledging an item: As the pledging user I can re-pledge an item to increment its quantity
rspec ./spec/features/pledging_an_item_spec.rb:86 # Pledging an item: As the pledging user I can edit the quantity of my pledge
rspec ./spec/features/pledging_an_item_spec.rb:72 # Pledging an item: As the pledging user I can unpledge an item I pledged from my user page
rspec ./spec/features/pledging_an_item_spec.rb:79 # Pledging an item: As the pledging user I can unpledge an item I pledged from the pledge page
rspec ./spec/features/pledging_an_item_spec.rb:119 # Pledging an item: As an admin I can edit the quantity of an existing pledge
rspec ./spec/features/pledging_an_item_spec.rb:129 # Pledging an item: As an admin I can unpledge an existing pledge
rspec ./spec/features/pledging_an_item_spec.rb:138 # Pledging an item: As an admin I can export pledges as a CSV file
rspec ./spec/features/pledging_an_item_spec.rb:112 # Pledging an item: As an admin I can view pledge details
rspec ./spec/features/pledging_an_item_spec.rb:107 # Pledging an item: As an admin I can view a list of pledges
Randomized with seed 42962
/Users/jsmith/.rbenv/versions/2.4.1/bin/ruby -I/Users/jsmith/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib:/Users/jsmith/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-support-3.6.0/lib /Users/jsmith/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment