Skip to content

Commit

Permalink
ci(gui): always keep video recordings of e2e runs on release related …
Browse files Browse the repository at this point in the history
…branches

- to ease checking OS setup functionality

Signed-off-by: Manuel Zedel <[email protected]>
  • Loading branch information
mzedel committed Jan 9, 2025
1 parent b7a2dfc commit b6ba881
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/tests/e2e_tests/docker-compose.e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ services:
deploy:
replicas: 0
environment:
- TEST_ENVIRONMENT
- CI_COMMIT_REF_PROTECTED
- NODE_TLS_REJECT_UNAUTHORIZED=0
- TEST_ENVIRONMENT
networks:
- default
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/e2e_tests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const options: PlaywrightTestConfig = {
...contextArgs,
contextOptions: contextArgs,
screenshot: 'only-on-failure',
video: 'retain-on-failure',
video: process.env.CI_COMMIT_REF_PROTECTED ? 'on' : 'retain-on-failure',
// headless: false,
launchOptions,
trace: process.env.BROWSER == 'webkit' ? 'retain-on-failure' : 'off'
Expand Down

0 comments on commit b6ba881

Please sign in to comment.