File tree Expand file tree Collapse file tree 8 files changed +66
-12
lines changed
dynamic-remotes-runtime-environment-variables
dynamic-remotes-synchronous-imports Expand file tree Collapse file tree 8 files changed +66
-12
lines changed Original file line number Diff line number Diff line change 14
14
"clean" : " pnpm --filter automatic-vendor-sharing_app* --parallel clean" ,
15
15
"legacy:start" : " pnpm --filter automatic-vendor-sharing_app* --parallel legacy:start" ,
16
16
"legacy:build" : " pnpm --filter automatic-vendor-sharing_app* --parallel legacy:build" ,
17
- "e2e:ci" : " pnpm start & wait-on http-get://localhost:3001/ http-get://localhost:3002/ && npx playwright test" ,
17
+ "e2e:ci" : " npx playwright test" ,
18
18
"legacy:e2e:ci" : " pnpm legacy:start & wait-on http-get://localhost:3001/ http-get://localhost:3002/ && npx playwright test"
19
19
},
20
20
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -29,6 +29,18 @@ export default defineConfig({
29
29
} ,
30
30
] ,
31
31
32
- // webServer configuration removed - servers are started manually in package.json scripts
33
- // This ensures better compatibility with CI environments and matches the original Cypress approach
32
+ webServer : [
33
+ {
34
+ command : 'pnpm --filter automatic-vendor-sharing_app1 start' ,
35
+ port : 3001 ,
36
+ reuseExistingServer : ! process . env . CI ,
37
+ timeout : 120000 ,
38
+ } ,
39
+ {
40
+ command : 'pnpm --filter automatic-vendor-sharing_app2 start' ,
41
+ port : 3002 ,
42
+ reuseExistingServer : ! process . env . CI ,
43
+ timeout : 120000 ,
44
+ } ,
45
+ ] ,
34
46
} ) ;
Original file line number Diff line number Diff line change 15
15
"docker:build" : " pnpm --filter dynamic-remotes-runtime-environment-variables_* --parallel docker:build" ,
16
16
"docker:run" : " pnpm --filter dynamic-remotes-runtime-environment-variables_* --parallel docker:run" ,
17
17
"docker:rm" : " pnpm --filter dynamic-remotes-runtime-environment-variables_* --parallel docker:rm" ,
18
- "e2e:ci" : " pnpm start & wait-on http-get://localhost:3000/ http-get://localhost:3001/ && npx playwright test" ,
18
+ "e2e:ci" : " npx playwright test" ,
19
19
"legacy:e2e:ci" : " pnpm legacy:start & wait-on http-get://localhost:3000/ http-get://localhost:3001/ && npx playwright test"
20
20
},
21
21
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -29,6 +29,18 @@ export default defineConfig({
29
29
} ,
30
30
] ,
31
31
32
- // webServer configuration removed - servers are started manually in package.json scripts
33
- // This ensures better compatibility with CI environments and matches the original Cypress approach
32
+ webServer : [
33
+ {
34
+ command : 'pnpm --filter dynamic-remotes-runtime-environment-variables_host start' ,
35
+ port : 3000 ,
36
+ reuseExistingServer : ! process . env . CI ,
37
+ timeout : 120000 ,
38
+ } ,
39
+ {
40
+ command : 'pnpm --filter dynamic-remotes-runtime-environment-variables_remote start' ,
41
+ port : 3001 ,
42
+ reuseExistingServer : ! process . env . CI ,
43
+ timeout : 120000 ,
44
+ } ,
45
+ ] ,
34
46
} ) ;
Original file line number Diff line number Diff line change 11
11
"build" : " pnpm --filter dynamic-remotes-synchronous-imports_app* --parallel build" ,
12
12
"serve" : " pnpm --filter dynamic-remotes-synchronous-imports_app* --parallel serve" ,
13
13
"clean" : " pnpm --filter dynamic-remotes-synchronous-imports_app* --parallel clean" ,
14
- "e2e:ci" : " pnpm start & wait-on http-get://localhost:3001/ http-get://localhost:3002/ && pnpm exec playwright test"
14
+ "e2e:ci" : " npx playwright test"
15
15
},
16
16
"devDependencies" : {
17
17
"@playwright/test" : " ^1.54.2" ,
Original file line number Diff line number Diff line change @@ -29,6 +29,18 @@ export default defineConfig({
29
29
} ,
30
30
] ,
31
31
32
- // webServer configuration removed - servers are started manually in package.json scripts
33
- // This ensures better compatibility with CI environments and matches the original Cypress approach
32
+ webServer : [
33
+ {
34
+ command : 'pnpm --filter dynamic-remotes-synchronous-imports_app1 start' ,
35
+ port : 3001 ,
36
+ reuseExistingServer : ! process . env . CI ,
37
+ timeout : 120000 ,
38
+ } ,
39
+ {
40
+ command : 'pnpm --filter dynamic-remotes-synchronous-imports_app2 start' ,
41
+ port : 3002 ,
42
+ reuseExistingServer : ! process . env . CI ,
43
+ timeout : 120000 ,
44
+ } ,
45
+ ] ,
34
46
} ) ;
Original file line number Diff line number Diff line change 17
17
"test:e2e" : " npx playwright test" ,
18
18
"test:e2e:ui" : " npx playwright test --ui" ,
19
19
"test:e2e:debug" : " npx playwright test --debug" ,
20
- "e2e:ci" : " pnpm start & sleep 5 && wait-on tcp:3001 tcp:3002 tcp:3003 && npx playwright test --reporter=list; kill $(jobs -p) 2>/dev/null || true " ,
20
+ "e2e:ci" : " npx playwright test --reporter=list" ,
21
21
"legacy:e2e:ci" : " pnpm legacy:start & sleep 5 && wait-on tcp:3001 tcp:3002 tcp:3003 && LEGACY_MODE=true npx playwright test --reporter=list; kill $(jobs -p) 2>/dev/null || true"
22
22
},
23
23
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -29,6 +29,24 @@ export default defineConfig({
29
29
} ,
30
30
] ,
31
31
32
- // webServer configuration removed - servers are started manually in package.json scripts
33
- // This ensures better compatibility with CI environments and matches the original Cypress approach
32
+ webServer : [
33
+ {
34
+ command : 'pnpm --filter dynamic-remotes_app1 start' ,
35
+ port : 3001 ,
36
+ reuseExistingServer : ! process . env . CI ,
37
+ timeout : 120000 ,
38
+ } ,
39
+ {
40
+ command : 'pnpm --filter dynamic-remotes_app2 start' ,
41
+ port : 3002 ,
42
+ reuseExistingServer : ! process . env . CI ,
43
+ timeout : 120000 ,
44
+ } ,
45
+ {
46
+ command : 'pnpm --filter dynamic-remotes_app3 start' ,
47
+ port : 3003 ,
48
+ reuseExistingServer : ! process . env . CI ,
49
+ timeout : 120000 ,
50
+ } ,
51
+ ] ,
34
52
} ) ;
You can’t perform that action at this time.
0 commit comments