Skip to content

Commit 0441538

Browse files
committed
use: faster tests via dev mode.
1 parent 8680f41 commit 0441538

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

playwright.config.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const config: PlaywrightTestConfig = {
77
retries: 3,
88
testDir: 'e2e',
99
use: {
10-
baseURL: 'http://localhost:4173/console/',
10+
baseURL: 'http://localhost:3000/console/',
1111
trace: 'on-first-retry'
1212
},
1313
webServer: {
@@ -19,8 +19,9 @@ const config: PlaywrightTestConfig = {
1919
PUBLIC_STRIPE_KEY:
2020
'pk_test_51LT5nsGYD1ySxNCyd7b304wPD8Y1XKKWR6hqo6cu3GIRwgvcVNzoZv4vKt5DfYXL1gRGw4JOqE19afwkJYJq1g3K004eVfpdWn'
2121
},
22-
command: 'pnpm run build && pnpm run preview',
23-
port: 4173
22+
command: 'pnpm run dev',
23+
port: 3000,
24+
reuseExistingServer: true
2425
}
2526
};
2627

0 commit comments

Comments
 (0)