Skip to content

Commit c9e6fbe

Browse files
authored
fix(browser-sdk): fix e2e test stability (#343)
Setting a port will make playwright wait until the server is listening
1 parent ebbb6bd commit c9e6fbe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/browser-sdk/playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ export default defineConfig({
3434
// separate port to let the app run alongside the tracking sdk tests
3535
command: "npx http-server . -p 8001",
3636
timeout: 120 * 1000,
37+
port: 8001,
3738
},
3839
});

0 commit comments

Comments
 (0)