better_spree_paypal_express icon indicating copy to clipboard operation
better_spree_paypal_express copied to clipboard

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

Open givanse opened this issue 9 years ago • 2 comments

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 avatar Aug 03 '15 01:08 givanse

Reproduced with:

git clone -b 3-0-stable [email protected]: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 avatar Aug 03 '15 02:08 givanse

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

givanse avatar Aug 03 '15 04:08 givanse