{"action":"created","issue":{"url":"https://api.github.com/repos/spree/spree/issues/6334","labels_url":"https://api.github.com/repos/spree/spree/issues/6334/labels{/name}","comments_url":"https://api.github.com/repos/spree/spree/issues/6334/comments","events_url":"https://api.github.com/repos/spree/spree/issues/6334/events","html_url":"https://github.com/spree/spree/issues/6334","id":71626060,"number":6334,"title":"2 Failures on Spree Backend, testing locally with build.sh","user":{"login":"damson","id":804217,"avatar_url":"https://avatars.githubusercontent.com/u/804217?v=3","gravatar_id":"","url":"https://api.github.com/users/damson","html_url":"https://github.com/damson","followers_url":"https://api.github.com/users/damson/followers","following_url":"https://api.github.com/users/damson/following{/other_user}","gists_url":"https://api.github.com/users/damson/gists{/gist_id}","starred_url":"https://api.github.com/users/damson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damson/subscriptions","organizations_url":"https://api.github.com/users/damson/orgs","repos_url":"https://api.github.com/users/damson/repos","events_url":"https://api.github.com/users/damson/events{/privacy}","received_events_url":"https://api.github.com/users/damson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spree/spree/labels/unverified","name":"unverified","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-28T15:44:41Z","updated_at":"2015-04-28T18:11:18Z","closed_at":null,"body":"I ran rspec tests locally with the build script:\r\n`DB=sqlite bash build.sh`\r\n\r\nAnd I got those two errors:\r\n```\r\nFailures:\r\n\r\n1) Customer Details brand new order associates a user when not using guest checkout\r\n     Failure/Error: expect(find('#order_bill_address_attributes_state_id').value).to eq user.bill_address.state_id.to_s\r\n       \r\n       expected: \"2\"\r\n            got: \"\"\r\n       \r\n       (compared using ==)\r\n     # ./spec/features/admin/orders/customer_details_spec.rb:40:in `block (3 levels) in <top (required)>'\r\n\r\n  2) Order Line Items can edit a line item's quantity\r\n     Failure/Error: within '.line-item-qty-show' do\r\n     Capybara::ElementNotFound:\r\n       Unable to find css \".line-item-qty-show\"\r\n     # /home/doc/.rvm/gems/ruby-2.0.0-p598/gems/capybara-2.4.4/lib/capybara/node/finders.rb:41:in `block in find'\r\n     # /home/doc/.rvm/gems/ruby-2.0.0-p598/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize'\r\n     # /home/doc/.rvm/gems/ruby-2.0.0-p598/gems/capybara-2.4.4/lib/capybara/node/finders.rb:30:in `find'\r\n     # /home/doc/.rvm/gems/ruby-2.0.0-p598/gems/capybara-2.4.4/lib/capybara/session.rb:676:in `block (2 levels) in <class:Session>'\r\n     # /home/doc/.rvm/gems/ruby-2.0.0-p598/gems/capybara-2.4.4/lib/capybara/session.rb:282:in `within'\r\n     # /home/doc/.rvm/gems/ruby-2.0.0-p598/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'\r\n     # ./spec/features/admin/orders/line_items_spec.rb:26:in `block (4 levels) in <top (required)>'\r\n     # /home/doc/.rvm/gems/ruby-2.0.0-p598/gems/capybara-2.4.4/lib/capybara/session.rb:285:in `within'\r\n     # /home/doc/.rvm/gems/ruby-2.0.0-p598/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'\r\n     # /home/doc/workspace/web/phoenix/spree/core/lib/spree/testing_support/capybara_ext.rb:17:in `within_row'\r\n     # ./spec/features/admin/orders/line_items_spec.rb:22:in `block (3 levels) in <top (required)>'\r\n     # /home/doc/.rvm/gems/ruby-2.0.0-p598/gems/capybara-2.4.4/lib/capybara/session.rb:285:in `within'\r\n     # /home/doc/.rvm/gems/ruby-2.0.0-p598/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'\r\n     # ./spec/features/admin/orders/line_items_spec.rb:21:in `block (2 levels) in <top (required)>'\r\n\r\nFinished in 39 minutes 56 seconds (files took 4.81 seconds to load)\r\n440 examples, 2 failures, 2 pending\r\n\r\nFailed examples:\r\n\r\nrspec ./spec/features/admin/orders/customer_details_spec.rb:23 # Customer Details brand new order associates a user when not using guest checkout\r\nrspec ./spec/features/admin/orders/line_items_spec.rb:19 # Order Line Items can edit a line item's quantity\r\n\r\n```\r\n\r\nIt was just after clonning the `3-0-stable` spree branch.\r\nBut I don't get it because every tests seem to pass on [CircleCI](https://circleci.com/gh/spree/spree/)"},"comment":{"url":"https://api.github.com/repos/spree/spree/issues/comments/97158986","html_url":"https://github.com/spree/spree/issues/6334#issuecomment-97158986","issue_url":"https://api.github.com/repos/spree/spree/issues/6334","id":97158986,"user":{"login":"JDutil","id":25104,"avatar_url":"https://avatars.githubusercontent.com/u/25104?v=3","gravatar_id":"","url":"https://api.github.com/users/JDutil","html_url":"https://github.com/JDutil","followers_url":"https://api.github.com/users/JDutil/followers","following_url":"https://api.github.com/users/JDutil/following{/other_user}","gists_url":"https://api.github.com/users/JDutil/gists{/gist_id}","starred_url":"https://api.github.com/users/JDutil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDutil/subscriptions","organizations_url":"https://api.github.com/users/JDutil/orgs","repos_url":"https://api.github.com/users/JDutil/repos","events_url":"https://api.github.com/users/JDutil/events{/privacy}","received_events_url":"https://api.github.com/users/JDutil/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T18:11:18Z","updated_at":"2015-04-28T18:11:18Z","body":"I believe these are both false positives, which capybara sometimes has depending on page rendering time or javascript execution times etc... close:not_a_bug"}}