1- import { defineConfig , devices } from ' @playwright/test' ;
1+ import { defineConfig , devices } from " @playwright/test" ;
22
33/**
44 * Read environment variables from file.
@@ -10,7 +10,7 @@ import { defineConfig, devices } from '@playwright/test';
1010 * See https://playwright.dev/docs/test-configuration.
1111 */
1212export default defineConfig ( {
13- testDir : ' ./tests' ,
13+ testDir : " ./tests" ,
1414 /* Run tests in files in parallel */
1515 fullyParallel : true ,
1616 /* Fail the build on CI if you accidentally left test.only in the source code. */
@@ -20,31 +20,31 @@ export default defineConfig({
2020 /* Opt out of parallel tests on CI. */
2121 workers : process . env . CI ? 1 : undefined ,
2222 /* Reporter to use. See https://playwright.dev/docs/test-reporters */
23- reporter : ' html' ,
23+ reporter : " html" ,
2424 /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
2525 use : {
2626 /* Base URL to use in actions like `await page.goto('/')`. */
2727 // baseURL: 'http://127.0.0.1:3000',
2828
2929 /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
30- trace : ' on-first-retry' ,
30+ trace : " on-first-retry" ,
3131 } ,
3232
3333 /* Configure projects for major browsers */
3434 projects : [
3535 {
36- name : ' chromium' ,
37- use : { ...devices [ ' Desktop Chrome' ] } ,
36+ name : " chromium" ,
37+ use : { ...devices [ " Desktop Chrome" ] } ,
3838 } ,
3939
4040 {
41- name : ' firefox' ,
42- use : { ...devices [ ' Desktop Firefox' ] } ,
41+ name : " firefox" ,
42+ use : { ...devices [ " Desktop Firefox" ] } ,
4343 } ,
4444
4545 {
46- name : ' webkit' ,
47- use : { ...devices [ ' Desktop Safari' ] } ,
46+ name : " webkit" ,
47+ use : { ...devices [ " Desktop Safari" ] } ,
4848 } ,
4949
5050 /* Test against mobile viewports. */
@@ -75,16 +75,10 @@ export default defineConfig({
7575 // reuseExistingServer: !process.env.CI,
7676 // },
7777
78-
79- /* Run your local dev server before starting the tests */
80- webServer : {
81- reuseExistingServer : true ,
82- command : 'npm run dev' ,
83- port : 3000 ,
84- } ,
85-
86-
87-
88-
89-
78+ /* Run your local dev server before starting the tests */
79+ webServer : {
80+ reuseExistingServer : true ,
81+ command : "npm run dev" ,
82+ port : 3000 ,
83+ } ,
9084} ) ;
0 commit comments