@@ -7,9 +7,9 @@ E2E tests can be run locally or in GitHub Actions. Github Actions are already co
7
7
## Recent Improvements
8
8
9
9
### Retry Mechanism
10
- The E2E tests now include an intelligent retry mechanism that :
11
- - ** First run ** : Executes all tests normally
12
- - ** Automatic retry ** : If any tests fail, only the failed tests are retried using Playwright's ` --last-failed ` flag
10
+ The E2E tests use Playwright's built-in retry mechanism:
11
+ - ** Automatic retries ** : Failed tests are automatically retried up to 2 times in CI
12
+ - ** Configurable ** : Retries are enabled in CI ( ` retries: 2 ` ) and disabled locally ( ` retries: 0 ` )
13
13
14
14
### Improved Timeout Handling
15
15
- ** Increased timeouts** : UI interaction timeouts increased from 100ms to 10 seconds for better reliability
@@ -229,14 +229,9 @@ You can use the locator functionality to help correctly determine the locator sy
229
229
230
230
When tests fail in CI, the retry mechanism automatically kicks in:
231
231
232
- 1 . ** First run** : All tests execute normally
233
- 2 . ** If failures occur** : The system automatically retries only the failed tests
234
- 3 . ** Retry logs** : Look for the message "Some tests failed, retrying only failed tests with --last-failed flag" in the logs
235
- 4 . ** Final results** : The test run will show both the initial results and retry results
236
-
237
- This approach helps distinguish between:
238
- - ** Flaky tests** : Tests that fail occasionally but pass on retry
239
- - ** Consistent failures** : Tests that fail both initially and on retry (indicating real issues)
232
+ 1 . ** Automatic retries** : Failed tests are automatically retried up to 2 times
233
+ 2 . ** Retry logs** : Look for retry attempts in the test output
234
+ 3 . ** Final results** : The test run will show the final result after all retry attempts
240
235
241
236
## Slack integration
242
237
0 commit comments