@@ -15,19 +15,19 @@ export default defineConfig({
1515 testDir : "./e2e" ,
1616 testMatch : "tests/**/*.spec.ts" ,
1717 /* Run tests in files in parallel */
18- // fullyParallel: true,
18+ fullyParallel : true ,
1919 /* Fail the build on CI if you accidentally left test.only in the source code. */
2020 forbidOnly : ! ! process . env . CI ,
2121 /* Retry on CI only */
22- retries : process . env . CI ? 2 : 0 ,
22+ retries : process . env . CI ? 1 : 0 ,
2323 /* Opt out of parallel tests on CI. */
24- workers : process . env . CI ? 1 : undefined ,
24+ // workers: process.env.CI ? 1 : undefined,
2525 /* Reporter to use. See https://playwright.dev/docs/test-reporters */
2626 reporter : process . env . CI ? [ [ "list" ] , [ "html" ] , [ "github" ] ] : "list" ,
2727 /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
2828 use : {
2929 /* Base URL to use in actions like `await page.goto('/')`. */
30- // baseURL: ' http://localhost:3000' ,
30+ baseURL : " http://127.0.0.1:51234" ,
3131
3232 /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
3333 trace : "on-first-retry" ,
@@ -61,7 +61,7 @@ export default defineConfig({
6161 // use: { ...devices['Desktop Chrome'], channel: 'chrome' },
6262 // },
6363 ] ,
64- timeout : process . env . CI ? 60_000 : 5_000 ,
64+ timeout : process . env . CI ? 30_000 : 5_000 ,
6565 webServer : {
6666 command : "node e2e/serve-fixtures.mjs 51234" ,
6767 url : "http://127.0.0.1:51234/inspector-playground.html" ,
0 commit comments