Created
January 20, 2014 23:37
-
-
Save nfriend21/8531575 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) MicropostMailer sends a feed update email to administrator | |
Failure/Error: create_micropost(@website, @user) | |
Capybara::Ambiguous: | |
Ambiguous match, found 2 elements matching css "#micropost_group_1" | |
# ./spec/helper_methods/application_spec_methods.rb:262:in `create_micropost' | |
# ./spec/mailers/micropost_mailer_spec.rb:14:in `block (2 levels) in <top (required)>' | |
2) Website visits statistics page successfully | |
Failure/Error: page.should have_content('Statistics') | |
expected to find text "Statistics" in "Internal Server Error ================================================================================ An HTTP request has been made that VCR does not know how to handle: GET https://www.googleapis.com/analytics/v3/data/ga?dimensions=ga:hostname&end-date=2013-12-20&ids=ga:77785412&metrics=ga:visits,%20ga:newVisits,%20ga:percentNewVisits&start-date=2013-12-20 VCR is currently using the following cassette: - /Users/nicholasfriend/Documents/sites/icono_pregame/fixtures/vcr_cassettes/statistics.yml - :record => :once - :match_requests_on => [:method, :uri] Under the current configuration VCR can not find a suitable HTTP interaction to replay and is prevented from recording new requests. There are a few ways you can deal with this: * If you're surprised VCR is raising this error and want insight about how VCR attempted to handle the request, you can use the debug_logger configuration option to log more details [1]. * You can use the :new_episodes record mode to allow VCR to record this new request to the existing cassette [2]. * If you want VCR to ignore this request (and others like it), you can set an `ignore_request` callback [3]. * The current record mode (:once) does not allow new requests to be recorded to a previously recorded cassette. You can delete the cassette file and re-run your tests to allow the cassette to be recorded with this request [4]. * The cassette contains 41 HTTP interactions that have not been played back. If your request is non-deterministic, you may need to change your :match_requests_on cassette option to be more lenient or use a custom request matcher to allow it to match [5]. [1] https://www.relishapp.com/vcr/vcr/v/2-8-0/docs/configuration/debug-logging [2] https://www.relishapp.com/vcr/vcr/v/2-8-0/docs/record-modes/new-episodes [3] https://www.relishapp.com/vcr/vcr/v/2-8-0/docs/configuration/ignore-request [4] https://www.relishapp.com/vcr/vcr/v/2-8-0/docs/record-modes/once [5] https://www.relishapp.com/vcr/vcr/v/2-8-0/docs/request-matching ================================================================================ WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10) at usertest.lvh.me:31234" | |
# ./spec/features/website_spec.rb:77:in `block (3 levels) in <top (required)>' | |
# ./spec/features/website_spec.rb:75:in `block (2 levels) in <top (required)>' | |
3) Website updates the header | |
Failure/Error: fill_in 'website_logo_text', with: 'updatedlogo' | |
Capybara::ElementNotFound: | |
Unable to find field "website_logo_text" | |
# ./spec/features/website_spec.rb:83:in `block (2 levels) in <top (required)>' | |
4) Website redirects to user to login page if tries to access another user's cp | |
Failure/Error: within('.theme-modal-header') do | |
Capybara::ElementNotFound: | |
Unable to find css ".theme-modal-header" | |
# ./spec/features/website_spec.rb:54:in `block (3 levels) in <top (required)>' | |
# ./spec/features/website_spec.rb:43:in `block (2 levels) in <top (required)>' | |
5) Product updates a product_medium_list | |
Failure/Error: page.find('.ajax-completed') | |
Capybara::ElementNotFound: | |
Unable to find css ".ajax-completed" | |
# ./spec/features/product_spec.rb:15:in `block (3 levels) in <top (required)>' | |
# ./spec/features/product_spec.rb:10:in `block (2 levels) in <top (required)>' | |
6) Order edits and updates an Order | |
Failure/Error: create_product | |
Capybara::ElementNotFound: | |
Unable to find css "#product_2 a" with text "edit" | |
# ./spec/helper_methods/application_spec_methods.rb:220:in `block in create_product' | |
# ./spec/helper_methods/application_spec_methods.rb:214:in `create_product' | |
# ./spec/features/order_spec.rb:12:in `block (2 levels) in <top (required)>' | |
7) user_site/products#show when user selects a new style(finishing), it updates the price | |
Failure/Error: page.find('span.item-price').text.should == '21.50' | |
expected: "21.50" | |
got: "5.63" (using ==) | |
# ./spec/features/user_site/products/show_spec.rb:224:in `block (3 levels) in <top (required)>' | |
# ./spec/features/user_site/products/show_spec.rb:220:in `block (2 levels) in <top (required)>' | |
8) user_site/products#show when user selects the frame style, it updates the price | |
Failure/Error: page.find('span.item-price').text.should == "21.50" | |
expected: "21.50" | |
got: "17.63" (using ==) | |
# ./spec/features/user_site/products/show_spec.rb:271:in `block (3 levels) in <top (required)>' | |
# ./spec/features/user_site/products/show_spec.rb:267:in `block (2 levels) in <top (required)>' | |
9) user_site/products#show when user selects a new size, it updates the price | |
Failure/Error: find('span', text: '9x12').click | |
Capybara::ElementNotFound: | |
Unable to find css "span" with text "9x12" | |
# ./spec/features/user_site/products/show_spec.rb:49:in `block (3 levels) in <top (required)>' | |
# ./spec/features/user_site/products/show_spec.rb:47:in `block (2 levels) in <top (required)>' | |
10) user_site/products#show when user selects the frame style, add item to the paypal shopping cart, the prices match | |
Failure/Error: shopping_cart_price = within('#PPMiniCart') { page.find('span.price').text } | |
Capybara::Ambiguous: | |
Ambiguous match, found 2 elements matching css "span.price" | |
# ./spec/features/user_site/products/show_spec.rb:326:in `block (3 levels) in <top (required)>' | |
# ./spec/features/user_site/products/show_spec.rb:326:in `block (2 levels) in <top (required)>' | |
11) user_site/products#show it displays the paypal shopping cart after selecting a medium, option, style, frame and the user clicks add-to-cart | |
Failure/Error: find('span', text: '9x12').click | |
Capybara::ElementNotFound: | |
Unable to find css "span" with text "9x12" | |
# ./spec/features/user_site/products/show_spec.rb:357:in `block (3 levels) in <top (required)>' | |
# ./spec/features/user_site/products/show_spec.rb:355:in `block (2 levels) in <top (required)>' | |
12) user_site/products#show when user selects a custom frame, it updates the price | |
Failure/Error: find('span', text: '9x12').click | |
Capybara::ElementNotFound: | |
Unable to find css "span" with text "9x12" | |
# ./spec/features/user_site/products/show_spec.rb:297:in `block (4 levels) in <top (required)>' | |
# ./spec/features/user_site/products/show_spec.rb:295:in `block (3 levels) in <top (required)>' | |
# ./spec/features/user_site/products/show_spec.rb:276:in `block (2 levels) in <top (required)>' | |
13) Template generates the correct preview & edit links on the save_site_controls bar | |
Failure/Error: click_link 'copy' | |
Capybara::ElementNotFound: | |
Unable to find link "copy" | |
# ./spec/features/template_spec.rb:12:in `block (2 levels) in <top (required)>' | |
14) Template uploads a template photo | |
Failure/Error: Photo.last.attachable_id.should == @template.id | |
expected: 2 | |
got: 3 (using ==) | |
# ./spec/features/template_spec.rb:28:in `block (2 levels) in <top (required)>' | |
15) Contact creates a contact | |
Failure/Error: create_product | |
Capybara::ElementNotFound: | |
Unable to find css "#product_2 a" with text "edit" | |
# ./spec/helper_methods/application_spec_methods.rb:220:in `block in create_product' | |
# ./spec/helper_methods/application_spec_methods.rb:214:in `create_product' | |
# ./spec/features/contact_spec.rb:12:in `block (2 levels) in <top (required)>' | |
16) Store when a website self-fulfills, it doesnt display a custom frame as a frame option on the user_site if the size is incompatible | |
Failure/Error: create_product | |
Capybara::ElementNotFound: | |
Unable to find css "#product_2 a" with text "edit" | |
# ./spec/helper_methods/application_spec_methods.rb:220:in `block in create_product' | |
# ./spec/helper_methods/application_spec_methods.rb:214:in `create_product' | |
# ./spec/features/store_spec.rb:12:in `block (2 levels) in <top (required)>' | |
Finished in 74 minutes 19 seconds | |
576 examples, 16 failures, 8 pending | |
Failed examples: | |
rspec ./spec/mailers/micropost_mailer_spec.rb:20 # MicropostMailer sends a feed update email to administrator | |
rspec ./spec/features/website_spec.rb:74 # Website visits statistics page successfully | |
rspec ./spec/features/website_spec.rb:81 # Website updates the header | |
rspec ./spec/features/website_spec.rb:42 # Website redirects to user to login page if tries to access another user's cp | |
rspec ./spec/features/product_spec.rb:66 # Product updates a product_medium_list | |
rspec ./spec/features/order_spec.rb:101 # Order edits and updates an Order | |
rspec ./spec/features/user_site/products/show_spec.rb:214 # user_site/products#show when user selects a new style(finishing), it updates the price | |
rspec ./spec/features/user_site/products/show_spec.rb:262 # user_site/products#show when user selects the frame style, it updates the price | |
rspec ./spec/features/user_site/products/show_spec.rb:46 # user_site/products#show when user selects a new size, it updates the price | |
rspec ./spec/features/user_site/products/show_spec.rb:312 # user_site/products#show when user selects the frame style, add item to the paypal shopping cart, the prices match | |
rspec ./spec/features/user_site/products/show_spec.rb:350 # user_site/products#show it displays the paypal shopping cart after selecting a medium, option, style, frame and the user clicks add-to-cart | |
rspec ./spec/features/user_site/products/show_spec.rb:275 # user_site/products#show when user selects a custom frame, it updates the price | |
rspec ./spec/features/template_spec.rb:38 # Template generates the correct preview & edit links on the save_site_controls bar | |
rspec ./spec/features/template_spec.rb:25 # Template uploads a template photo | |
rspec ./spec/features/contact_spec.rb:101 # Contact creates a contact | |
rspec ./spec/features/store_spec.rb:140 # Store when a website self-fulfills, it doesnt display a custom frame as a frame option on the user_site if the size is incompatible | |
Randomized with seed 44260 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment