We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4773ce8 commit 41202baCopy full SHA for 41202ba
playwright.config.ts
@@ -25,8 +25,8 @@ const config: PlaywrightTestConfig = {
25
testIdAttribute: 'data-qa',
26
trace: 'on-first-retry',
27
// 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',
+ video: 'retain-on-failure',
+ screenshot: 'only-on-failure',
30
},
31
projects: [
32
{
0 commit comments