File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ let localOverride = {
1414 baseURL : "http://localhost:8080/" ,
1515} ;
1616
17+ let localDockerOverride = {
18+ baseURL : "http://localhost:8081/" ,
19+ } ;
20+
1721function deepMerge ( target , source ) {
1822 const result = structuredClone ( target ) ;
1923
@@ -39,6 +43,7 @@ function deepMerge(target, source) {
3943const configs = {
4044 prod : defaultConfig ,
4145 local : deepMerge ( defaultConfig , localOverride ) ,
46+ "local-docker" : deepMerge ( defaultConfig , localDockerOverride ) ,
4247} ;
4348
4449/**
Original file line number Diff line number Diff line change 1515 "playwright:test" : " TEST_ENV=prod playwright test" ,
1616 "playwright:test:ui" : " TEST_ENV=prod playwright test --ui" ,
1717 "playwright:test:local" : " TEST_ENV=local playwright test" ,
18- "playwright:test:local:ui" : " TEST_ENV=local playwright test --ui"
18+ "playwright:test:local:ui" : " TEST_ENV=local playwright test --ui" ,
19+ "playwright:test:local-docker" : " TEST_ENV=local-docker playwright test" ,
20+ "playwright:test:local-docker:ui" : " TEST_ENV=local-docker playwright test --ui"
1921 },
2022 "license" : " MIT" ,
2123 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments