Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
givanse opened this issue Aug 3, 2015 · 2 comments

Comments

@givanse
Copy link

givanse commented Aug 3, 2015

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 givanse changed the title [3-0-stable] Tests fail [3-0-stable] Tests failure: Ambiguous match, found 2 elements matching link "iPad" Aug 3, 2015
@givanse
Copy link
Author

givanse commented Aug 3, 2015

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
Copy link
Author

givanse commented Aug 3, 2015

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

gaqzi pushed a commit to gaqzi/better_spree_paypal_express that referenced this issue Jul 26, 2016
Both the image and the text link are matched and clicking on either is
fine, so do it.

This fixes issue spree-contrib#176.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant