-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
3426 [Flaky Spec] Address timing issues in enterprise users feature specs #3470
3426 [Flaky Spec] Address timing issues in enterprise users feature specs #3470
Conversation
click_link "Users" | ||
end | ||
|
||
expect(page).to have_selector "table.managers" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't add this here as we're coupling the actual navigation with an assertion. As a result, in line 133 above we're adding an extra step that we don't need. That being said, I don't think line 101 should need it either. If we have to wait for things to appear on the page, let's find them instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do you think @kristinalim ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sauloperez I moved check for table presence out of the helper method. Build is green, and I moved this back to Code Review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
Address timing issues in enterprise users feature specs.
What? Why?
Closes #3426
What should we test?
Semaphore build should be green.
In the long term, this test should also not fail.
Release notes
Changelog Category: Fixed