Skip to content

Commit 41202ba

Browse files
authored
chore: remove video from main (#1773)
1 parent 4773ce8 commit 41202ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ const config: PlaywrightTestConfig = {
2525
testIdAttribute: 'data-qa',
2626
trace: 'on-first-retry',
2727
// Always record video and take screenshots on main branch, otherwise only on failure
28-
video: process.env.GITHUB_REF === 'refs/heads/main' ? 'on' : 'retain-on-failure',
29-
screenshot: process.env.GITHUB_REF === 'refs/heads/main' ? 'on' : 'only-on-failure',
28+
video: 'retain-on-failure',
29+
screenshot: 'only-on-failure',
3030
},
3131
projects: [
3232
{

0 commit comments

Comments
 (0)