Skip to content

Instantly share code, notes, and snippets.

@ivar
Created July 25, 2018 01:12
Show Gist options
  • Save ivar/de2ee181ba48262e7e1d216fd5bb651c to your computer and use it in GitHub Desktop.
Save ivar/de2ee181ba48262e7e1d216fd5bb651c to your computer and use it in GitHub Desktop.
`rspec spec/features/buying`
Failures:
1) Viewing products multiple delivery schedules direct to buyer belonging to multiple organizations changing organization to shop for after creating a cart
Failure/Error: fill_in '.chosen_search input', with: buyer_org2.name
Capybara::SlowFinderError:
Timeout reached while running a *waiting* Capybara finder...perhaps you wanted to return immediately? Use a non-waiting Capybara finder. More info: http://blog.codeship.com/faster-rails-tests?utm_source=gem_exception
# ./spec/features/buying/view_products_spec.rb:513:in `block (5 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Capybara::ElementNotFound:
# Unable to find visible field ".chosen_search input" that is not disabled
# ./spec/features/buying/view_products_spec.rb:513:in `block (5 levels) in <top (required)>'
2) Checking Out via Purchase Order the market requires a PO number allows purchases with a PO number
Failure/Error: click_button "Place Order"
Net::ReadTimeout:
Net::ReadTimeout
# ./spec/features/buying/checking_out_via_purchase_order_spec.rb:70:in `checkout'
# ./spec/features/buying/checking_out_via_purchase_order_spec.rb:116:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# IO::EAGAINWaitReadable:
# Resource temporarily unavailable - read would block
# ./spec/features/buying/checking_out_via_purchase_order_spec.rb:70:in `checkout'
3) Checking Out via Purchase Order reviewing the order after checkout after delivery shows quantity delivered along side quantity ordered
Failure/Error: click_button "Place Order"
Net::ReadTimeout:
Net::ReadTimeout
# ./spec/features/buying/checking_out_via_purchase_order_spec.rb:70:in `checkout'
# ./spec/features/buying/checking_out_via_purchase_order_spec.rb:136:in `block (4 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# IO::EAGAINWaitReadable:
# Resource temporarily unavailable - read would block
# ./spec/features/buying/checking_out_via_purchase_order_spec.rb:70:in `checkout'
4) Checking Out buyer fills their cart then buyer checks out then cutoff time passes still permits the market manager to add to the order
Failure/Error: expect(page).to have_content("Added to cart!")
Capybara::SlowFinderError:
Timeout reached while running a *waiting* Capybara finder...perhaps you wanted to return immediately? Use a non-waiting Capybara finder. More info: http://blog.codeship.com/faster-rails-tests?utm_source=gem_exception
# ./spec/features/buying/checking_out_edge_cases_spec.rb:95:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Capybara::ExpectationNotMet:
# expected to find text "Added to cart!" in "Market 207 Welcome [email protected] Dashboard Cart 2 Help Sign Out Connecting Farm to Market Order Suppliers About Delivery Date CHANGE Who Organization 779 When Friday July 6, 2018 between 8:00AM and 5:00PM Where Location 359 359 S. State Street Ann Arbor, MI 48109 Filter Supplier Category Products Available on Friday July 6, 2018 Please complete your order by July 5 at 8AM. Delivery date is Friday July 6, 2018 between 8:00AM and 5:00PM. Fruits Apples Bananas Apples Fulton St. Farms How Where $0.50 per box $0.50 $50.50 Kale Apples Fulton St. Farms How Where $3.00 per box $2.50 4+ boxes $1.00 6+ boxes $3.00 $0.00 Potatoes Apples Ada Farms How Where $3.00 per box $3.00 $0.00 Spinach Apples Ada Farms How Where $3.00 per box $3.00 $0.00 Review Cart Jill Smith, Manager Phone 616-222-2222 Powered by Local Orbit © 2018"
# ./spec/features/buying/checking_out_edge_cases_spec.rb:95:in `block (3 levels) in <top (required)>'
5) Checking Out buyer fills their cart then buyer checks out market has seller editing enabled before cutoff passes seller can add items to order
Failure/Error: expect(page).to have_content("Added to cart!")
Capybara::SlowFinderError:
Timeout reached while running a *waiting* Capybara finder...perhaps you wanted to return immediately? Use a non-waiting Capybara finder. More info: http://blog.codeship.com/faster-rails-tests?utm_source=gem_exception
# ./spec/features/buying/checking_out_edge_cases_spec.rb:95:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Capybara::ExpectationNotMet:
# expected to find text "Added to cart!" in "Market 208 Welcome [email protected] Dashboard Cart 1 Help Sign Out Connecting Farm to Market Order Suppliers About Delivery Date CHANGE Who Organization 781 When Friday July 6, 2018 between 8:00AM and 5:00PM Where Location 362 362 S. State Street Ann Arbor, MI 48109 Filter Supplier Category Products Available on Friday July 6, 2018 Please complete your order by July 5 at 8AM. Delivery date is Friday July 6, 2018 between 8:00AM and 5:00PM. Fruits Apples Bananas Apples Fulton St. Farms How Where $0.50 per box $0.50 $50.50 Kale Apples Fulton St. Farms How Where $3.00 per box $2.50 4+ boxes $1.00 6+ boxes $3.00 $0.00 Potatoes Apples Ada Farms How Where $3.00 per box $3.00 $0.00 Spinach Apples Ada Farms How Where $3.00 per box $3.00 $0.00 Review Cart Jill Smith, Manager Phone 616-222-2222 Powered by Local Orbit © 2018"
# ./spec/features/buying/checking_out_edge_cases_spec.rb:95:in `block (3 levels) in <top (required)>'
6) Checking Out buyer fills their cart then buyer checks out market has seller editing enabled after cutoff passes seller can still add items to order
Failure/Error: expect(page).to have_content("Added to cart!")
Capybara::SlowFinderError:
Timeout reached while running a *waiting* Capybara finder...perhaps you wanted to return immediately? Use a non-waiting Capybara finder. More info: http://blog.codeship.com/faster-rails-tests?utm_source=gem_exception
# ./spec/features/buying/checking_out_edge_cases_spec.rb:95:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Capybara::ExpectationNotMet:
# expected to find text "Added to cart!" in "Market 209 Welcome [email protected] Dashboard Cart 1 Help Sign Out Connecting Farm to Market Order Suppliers About Delivery Date CHANGE Who Organization 783 When Friday July 6, 2018 between 8:00AM and 5:00PM Where Location 365 365 S. State Street Ann Arbor, MI 48109 Filter Supplier Category Products Available on Friday July 6, 2018 Please complete your order by July 5 at 8AM. Delivery date is Friday July 6, 2018 between 8:00AM and 5:00PM. Fruits Apples Bananas Apples Fulton St. Farms How Where $0.50 per box $0.50 $50.50 Kale Apples Fulton St. Farms How Where $3.00 per box $2.50 4+ boxes $1.00 6+ boxes $3.00 $0.00 Potatoes Apples Ada Farms How Where $3.00 per box $3.00 $0.00 Spinach Apples Ada Farms How Where $3.00 per box $3.00 $0.00 Review Cart Jill Smith, Manager Phone 616-222-2222 Powered by Local Orbit © 2018"
# ./spec/features/buying/checking_out_edge_cases_spec.rb:95:in `block (3 levels) in <top (required)>'
7) Checking Out buyer fills their cart then cutoff time passes, and buyer checks out shows them a past cutoff error
Failure/Error: expect(page).to have_content("Ordering for your selected pickup or delivery date ended")
Capybara::SlowFinderError:
Timeout reached while running a *waiting* Capybara finder...perhaps you wanted to return immediately? Use a non-waiting Capybara finder. More info: http://blog.codeship.com/faster-rails-tests?utm_source=gem_exception
# ./spec/features/buying/checking_out_edge_cases_spec.rb:108:in `block (4 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Capybara::ExpectationNotMet:
# expected to find text "Ordering for your selected pickup or delivery date ended" in "Market 210 Welcome [email protected] Dashboard Cart 0 Help Sign Out Connecting Farm to Market Order Suppliers About Welcome to Market 210 Order For: Organization 785 Please choose a pick up or delivery date: Delivery: Friday July 13, 2018 Between 8:00AM and 5:00PM Location 368 368 S. State Street Ann Arbor, MI 48109 Delivery: Friday July 13, 2018 Between 8:00AM and 5:00PM Location 368 368 S. State Street Ann Arbor, MI 48109 Back to Buyer Jill Smith, Manager Phone 616-222-2222 Powered by Local Orbit © 2018"
# ./spec/features/buying/checking_out_edge_cases_spec.rb:108:in `block (4 levels) in <top (required)>'
Finished in 124 minutes 40 seconds (files took 5.32 seconds to load)
170 examples, 7 failures, 15 pending
Failed examples:
rspec ./spec/features/buying/view_products_spec.rb:510 # Viewing products multiple delivery schedules direct to buyer belonging to multiple organizations changing organization to shop for after creating a cart
rspec ./spec/features/buying/checking_out_via_purchase_order_spec.rb:113 # Checking Out via Purchase Order the market requires a PO number allows purchases with a PO number
rspec ./spec/features/buying/checking_out_via_purchase_order_spec.rb:135 # Checking Out via Purchase Order reviewing the order after checkout after delivery shows quantity delivered along side quantity ordered
rspec ./spec/features/buying/checking_out_edge_cases_spec.rb:130 # Checking Out buyer fills their cart then buyer checks out then cutoff time passes still permits the market manager to add to the order
rspec ./spec/features/buying/checking_out_edge_cases_spec.rb:139 # Checking Out buyer fills their cart then buyer checks out market has seller editing enabled before cutoff passes seller can add items to order
rspec ./spec/features/buying/checking_out_edge_cases_spec.rb:152 # Checking Out buyer fills their cart then buyer checks out market has seller editing enabled after cutoff passes seller can still add items to order
rspec ./spec/features/buying/checking_out_edge_cases_spec.rb:103 # Checking Out buyer fills their cart then cutoff time passes, and buyer checks out shows them a past cutoff error
Randomized with seed 30153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment