spree-contrib / better_spree_paypal_express

A better Spree PayPal Express Extension.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
110 stars 270 forks source link

[3-0-stable] Tests failure: Ambiguous match, found 2 elements matching link "iPad" #176

Open givanse opened 9 years ago

givanse commented 9 years ago

In my fork, without any changes, I get one failure:

  1) PayPal cannot process a payment with invalid gateway details 
  Failure/Error: click_link product.name
  Capybara::Ambiguous:
    Ambiguous match, found 2 elements matching link "iPad"

I looked at the latest travis build and installed the same software versions that I saw there.

ruby -v
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
gem -v
2.4.8
bundler -v
Bundler version 1.7.6

Still got the same failure.

givanse commented 9 years ago

Reproduced with:

git clone -b 3-0-stable git@github.com:spree-contrib/better_spree_paypal_express.git issue176
cd issue176
rbenv local 2.1.5
bundle install
bundle exec rake test_app                                                    
bundle exec rspec spec
givanse commented 9 years ago

The latest commit 526d7f4f5bb9074b41b8d6ff38c47d01612ededf passed the tests once before: https://travis-ci.org/spree-contrib/better_spree_paypal_express/builds/70804187, very strange.