We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d592387 commit e826d53Copy full SHA for e826d53
1 file changed
playwright.config.ts
@@ -1,11 +1,9 @@
1
import { defineConfig } from '@playwright/test';
2
import dotenv from 'dotenv';
3
import path from 'path';
4
+
5
dotenv.config({ path: path.resolve(__dirname, '.env') });
6
-/**
7
- * See https://playwright.dev/docs/test-configuration.
8
- */
9
export default defineConfig({
10
/* Global Setup (Generate Auth Token) Config */
11
//globalSetup: require.resolve('./src/api/global/global-setup'),
@@ -25,7 +23,7 @@ export default defineConfig({
25
23
'html',
26
24
{
27
outputFolder: 'playwright-report',
28
- // If CI exists, pass 'never'. Otherwise, pass 'always' (or 'on-failure')
+ // If CI exists, pass 'never'. Otherwise, pass 'on-failure'
29
open: process.env.CI ? 'never' : 'on-failure',
30
},
31
],
0 commit comments