Files
grecia/spec
Javier Martín 32504b8840 Make Capybara check the page between votes.
As pointed out in PR #2734:

"After clicking the first link, there's an AJAX request which replaces
the existing `.in-favor a` and `.against a` links with new elements. So
if Capybara tries to click the existing `.against a` link at the same
moment it's being replaced, clicking the link won't generate a new
request".

Making Capybara check the page for new content before clicking the
second link solves the problem, in the same way 4ddc869 solved the same
problem in the comments section.
2018-07-13 22:58:12 +02:00
..
2018-06-12 15:11:06 +02:00
2018-07-12 10:17:25 -04:00
2015-08-06 18:31:26 +02:00
2017-10-16 19:02:27 +02:00