summaryrefslogtreecommitdiff
path: root/playwright.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'playwright.config.js')
-rw-r--r--playwright.config.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/playwright.config.js b/playwright.config.js
index 4cd94b6b..acfceb1d 100644
--- a/playwright.config.js
+++ b/playwright.config.js
@@ -36,7 +36,7 @@ export default defineConfig({
* Maximum time expect() should wait for the condition to be met.
* For example in `await expect(locator).toHaveText();`
*/
- timeout: 5000
+ timeout: 5000,
},
/* Run tests in files in parallel */
fullyParallel: true,
@@ -56,7 +56,7 @@ export default defineConfig({
// baseURL: 'http://localhost:3000',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
- trace: 'on-first-retry'
+ trace: 'on-first-retry',
},
/* Configure projects for major browsers */
@@ -64,17 +64,17 @@ export default defineConfig({
{
name: 'playwright setup',
testMatch: /global\.setup\.js/,
- teardown: 'playwright teardown'
+ teardown: 'playwright teardown',
},
{
name: 'playwright teardown',
- testMatch: /global\.teardown\.js/
+ testMatch: /global\.teardown\.js/,
},
{
name: 'chromium',
use: {...devices['Desktop Chrome']},
- dependencies: ['playwright setup']
- }
+ dependencies: ['playwright setup'],
+ },
// {
// name: 'firefox',
@@ -105,7 +105,7 @@ export default defineConfig({
// name: 'Google Chrome',
// use: { channel: 'chrome' },
// },
- ]
+ ],
/* Folder for test artifacts such as screenshots, videos, traces, etc. */
// outputDir: 'test-results/',