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

Replace use of timed delays in browser tests to reduce flakiness #7060

Closed
jhoneycutt opened this issue Nov 22, 2019 · 0 comments · Fixed by brave/brave-core#4114
Closed

Replace use of timed delays in browser tests to reduce flakiness #7060

jhoneycutt opened this issue Nov 22, 2019 · 0 comments · Fixed by brave/brave-core#4114

Comments

@jhoneycutt
Copy link

The Rewards browser tests have a number of locations where they sleep / delay for a short amount of time before running JS to test an element in the UI. The delay is meant to give the UI enough time to 'refresh' before the remainder of the test is run. This mechanism is flaky and frequently results in test failures / retries due to the UI not being in the correct state after the delay completes.

We should replace this behavior with something less flaky.

@NejcZdovc NejcZdovc self-assigned this Dec 2, 2019
@NejcZdovc NejcZdovc added this to the 1.3.x - Nightly milestone Dec 3, 2019
@NejcZdovc NejcZdovc removed this from the 1.3.x - Nightly milestone Dec 3, 2019
@NejcZdovc NejcZdovc added this to the 1.4.x - Nightly milestone Dec 5, 2019
@NejcZdovc NejcZdovc removed this from the 1.4.x - Dev milestone Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment