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

[Backport] Fix flaky specs: proposals and legislation Voting comments Update #2989

Merged

Conversation

javierm
Copy link
Member

@javierm javierm commented Oct 29, 2018

References

Notes

Code affecting probe options and spending proposals hasn't been backported since those parts aren't present in CONSUL.

As pointed out in PR consul#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.

This commit solves issues afecting both Madrid's fork and the original
CONSUL repo.
@javierm javierm merged commit 65dc4b2 into master Oct 29, 2018
@javierm javierm deleted the backport-2734_consul_related-fix_flaky_comments_spec branch October 29, 2018 13:18
@javierm javierm self-assigned this Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants