You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@bryphe-coder and I were talking about improving our e2e test structure both in open-source and the product. One idea is to have a Testing Gauntlet where we run e2e tests through a series of trials (say repeat each test 30 times) before it gets added to the codebase. Then have a nightly job that runs the unstable/flakey tests.
How it Works
Here's what I'm thinking:
Developer writes new e2e test and adds to test/e2e/unstable
Developer opens and merges PR
Each night, CI runs ci/dev/test-gauntlet.sh which does the following:
Runs tests in test/e2e/unstable and captures success results.
If new test passes gauntlet (i.e. 30 successful runs), then CI commits new test, opens PR and assigns to Testing Team
Testing Team reviews PRs from CI and merges in
Implementation
figuring out directory scaffolding unstable or nightly in test/e2e
write test-gauntlet.sh script
add CI job which runs on a schedule and opens PRs into main
The text was updated successfully, but these errors were encountered:
i feel like sometimes even when it shouldn’t matter, the order in which I run tests affects their flakiness. so when you’re designing the gauntlet you might go for 30 runs of the test suite rather than do test 1 30x, do test 2 30x, you know?
good feedback from @presleyp - the order of the tests shouldn't matter
@bryphe-coder and I were talking about improving our e2e test structure both in open-source and the product. One idea is to have a Testing Gauntlet where we run e2e tests through a series of trials (say repeat each test 30 times) before it gets added to the codebase. Then have a nightly job that runs the unstable/flakey tests.
How it Works
Here's what I'm thinking:
test/e2e/unstable
ci/dev/test-gauntlet.sh
which does the following:test/e2e/unstable
and captures success results.Implementation
unstable
ornightly
intest/e2e
test-gauntlet.sh
scriptmain
The text was updated successfully, but these errors were encountered: