File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
packages/e2e-tests/test-applications/standard-frontend-react-tracing-import Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 46
46
"@playwright/test" : " 1.26.1" ,
47
47
"axios" : " 1.1.2" ,
48
48
"serve" : " 14.0.1"
49
+ },
50
+ "volta" : {
51
+ "node" : " 16.19.0" ,
52
+ "yarn" : " 1.22.19"
49
53
}
50
54
}
Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ const config: PlaywrightTestConfig = {
29
29
use : {
30
30
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
31
31
actionTimeout : 0 ,
32
- /* Base URL to use in actions like `await page.goto('/')`. */
33
- // baseURL: 'http://localhost:3000',
34
32
35
33
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
36
34
trace : 'on-first-retry' ,
@@ -62,7 +60,7 @@ const config: PlaywrightTestConfig = {
62
60
/* Run your local dev server before starting the tests */
63
61
webServer : {
64
62
command : 'yarn start' ,
65
- port : 3000 ,
63
+ port : process . env . PORT ? parseInt ( process . env . PORT ) : 3000 ,
66
64
} ,
67
65
} ;
68
66
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " ../../test-recipe-schema.json" ,
3
3
"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" ,
5
5
"tests" : [
6
6
{
7
7
"testName" : " Playwright tests" ,
You can’t perform that action at this time.
0 commit comments