Skip to content

Commit c2bacae

Browse files
committed
Amend docs
1 parent fdb0c13 commit c2bacae

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

tests/e2e/README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ E2E tests can be run locally or in GitHub Actions. Github Actions are already co
77
## Recent Improvements
88

99
### 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`)
1313

1414
### Improved Timeout Handling
1515
- **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
229229

230230
When tests fail in CI, the retry mechanism automatically kicks in:
231231

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
240235

241236
## Slack integration
242237

0 commit comments

Comments
 (0)