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

Fix flaky spec: Proposals Search Reorder results maintaing search #3644

Merged
merged 1 commit into from
Aug 7, 2019

Conversation

javierm
Copy link
Member

@javierm javierm commented Jun 25, 2019

References

Objectives

  • Fix a flaky spec in spec/features/proposals_spec.rb:1449: Proposals Search Reorder results maintaing search

Why was the spec failing?

When clicking the button "Search", the link "newest" is already present, so capybara might click the "newest" link before the "Search" request is finished, leading to unexpected results.

Checking the page to make sure the "Search" request has finished before clicking the "newest" link solves the problem.

@javierm javierm self-assigned this Jun 25, 2019
When clicking the button "Search", the link "newest" is already present,
so capybara might click the "newest" link before the "Search" request is
finished, leading to unexpected results.

Checking the page to make sure the "Search" request has finished before
clicking the "newest" link solves the problem.
@javierm
Copy link
Member Author

javierm commented Aug 7, 2019

Travis failure is not related to this pull request and will be fixed by #3661.

@javierm javierm merged commit 0610991 into master Aug 7, 2019
@javierm javierm deleted the fix_flaky_proposals_spec branch August 7, 2019 13:40
@javierm javierm added this to Release 1.1.0 in Roadmap Sep 10, 2019
@javierm javierm added the Specs label Sep 11, 2019
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
…ls_spec

Fix flaky spec: Proposals Search Reorder results maintaing search
@javierm javierm added Flaky spec and removed Specs labels Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

2 participants