-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
Flaky e2e test: incorrect-locale
has been failing constantly in "after each" hook
#9543
Comments
@tatilepizs Could you please include the log as a text snippet rather than a screenshot so we can find this issue when doing a text search? |
Sure, I updated the description. |
The way the test was written, only a few components on the page will have translations as seen in the
So the expected screenshot when the test runs successfully will look like this: Also, the validations for the language translations are only for the From my investigations I noticed intermittent failures happening in the afterEach hook majorly because of a timeout which seems to happen in the
Moving this function from the afterEach block to the main test block seemed to make the test more stable and we can accommodate this fix for now because we have only one test in the spec file - /tests/e2e/default/translations/incorrect-locale.wdio-spec.js After executing the test about 20 times here, there was no related failure - the only failure on Attempt#5 & Attempt#20 happened because of this error - |
Co-authored-by: Rafa <[email protected]>
Co-authored-by: Rafa <[email protected]>
Describe the issue
E2e test /tests/e2e/default/translations/incorrect-locale.wdio-spec.js has been failing constantly in the "after each" hook due to timing
This is an example run
Here is the artifact in case it is helpful -> incorrect-locale-ci-webdriver-default-core-minimum-browser.zip
The text was updated successfully, but these errors were encountered: