Skip to content

Commit e61f83a

Browse files
committed
Run e2e tests against prod build
1 parent 43c5e6c commit e61f83a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const config: PlaywrightTestConfig = {
100100

101101
/* Run your local dev server before starting the tests */
102102
webServer: {
103-
command: 'npm run dev',
103+
command: 'npm run build && npm run start -- --port 3000',
104104
port: 3000,
105105
timeout: 120 * 1000,
106106
reuseExistingServer: true,

0 commit comments

Comments
 (0)