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 E2E test #6613

Merged
merged 1 commit into from
Sep 17, 2021
Merged

Fix flaky E2E test #6613

merged 1 commit into from
Sep 17, 2021

Conversation

pierlon
Copy link
Contributor

@pierlon pierlon commented Sep 17, 2021

Summary

Example of E2E test failing.

The issue with this E2E test stems from the "busy" state of the save button on the Settings page no longer being present on the page just after the settings are saved. Sometimes when the test is about to assert that the button is "busy", it has already reverted to its disabled state and so the test fails.

This PR removes the assertions related to confirming the busy state of the button since it is not guaranteed it will be present on the page at that point in time and is dependent on how quickly the settings are saved.

Checklist

  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

@pierlon pierlon added the Testing Issues related with Unit, E2E, Smoke, and other testing requirements/needs label Sep 17, 2021
@pierlon pierlon added this to the v2.2 milestone Sep 17, 2021
Copy link
Member

@westonruter westonruter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THANK YOU 🙇‍♂️🙇‍♂️🙇‍♂️

@github-actions
Copy link
Contributor

Plugin builds for a1d86bb are ready 🛎️!

@pierlon pierlon mentioned this pull request Sep 17, 2021
2 tasks
@westonruter westonruter merged commit ad958be into develop Sep 17, 2021
@westonruter westonruter deleted the fix/e2e-test branch September 17, 2021 21:27
@westonruter westonruter added the Changelogged Whether the issue/PR has been added to release notes. label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelogged Whether the issue/PR has been added to release notes. Testing Issues related with Unit, E2E, Smoke, and other testing requirements/needs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants