Skip to content

Commit 8ed5e10

Browse files
committed
Merge branch 'retryFlaky'
2 parents 43b29d9 + ca6f94f commit 8ed5e10

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
run: make webe2etest
9696

9797
- name: Upload Playwright artifacts
98-
if: always()
98+
if: failure()
9999
uses: actions/upload-artifact@v4
100100
with:
101101
name: playwright-artifacts

frontends/web/playwright.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ export default defineConfig({
2222
use: {
2323
baseURL: `http://${HOST}:${FRONTEND_PORT}`,
2424
headless: true,
25-
video: 'on',
25+
video: 'retain-on-failure',
2626
screenshot: 'only-on-failure',
27-
trace: 'on',
27+
trace: 'retain-on-failure',
2828
launchOptions: {
2929
// By default, tests are not run in slow motion.
3030
// Can be enabled by setting the PLAYWRIGHT_SLOW_MO environment variable to a value > 0.
@@ -34,6 +34,7 @@ export default defineConfig({
3434
},
3535
reporter: [['html', { open: 'never' }], ['list']],
3636
outputDir: 'test-results/',
37+
retries: 3,
3738
projects: [
3839
{
3940
name: 'Chromium',

0 commit comments

Comments
 (0)