Skip to content

Commit 42b3e96

Browse files
author
Luca Forstner
committed
fix new suite
1 parent ecd3eb8 commit 42b3e96

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,9 @@
4646
"@playwright/test": "1.26.1",
4747
"axios": "1.1.2",
4848
"serve": "14.0.1"
49+
},
50+
"volta": {
51+
"node": "16.19.0",
52+
"yarn": "1.22.19"
4953
}
5054
}

packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/playwright.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ const config: PlaywrightTestConfig = {
2929
use: {
3030
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
3131
actionTimeout: 0,
32-
/* Base URL to use in actions like `await page.goto('/')`. */
33-
// baseURL: 'http://localhost:3000',
3432

3533
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
3634
trace: 'on-first-retry',
@@ -62,7 +60,7 @@ const config: PlaywrightTestConfig = {
6260
/* Run your local dev server before starting the tests */
6361
webServer: {
6462
command: 'yarn start',
65-
port: 3000,
63+
port: process.env.PORT ? parseInt(process.env.PORT) : 3000,
6664
},
6765
};
6866

packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/test-recipe.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "../../test-recipe-schema.json",
33
"testApplicationName": "standard-frontend-react-tracing-import",
4-
"buildCommand": "yarn install --pure-lockfile && npx playwright install && yarn build",
4+
"buildCommand": "yarn install && npx playwright install && yarn build",
55
"tests": [
66
{
77
"testName": "Playwright tests",

0 commit comments

Comments
 (0)