test: Test fix CYPRESS_BASE_URL
This commit is contained in:
parent
0ecb37beb0
commit
cba1b538e5
@ -1,5 +1,6 @@
|
||||
{
|
||||
"baseUrl": "http://localhost:3000",
|
||||
"CYPRESS_BASE_URL": "host.docker.internal",
|
||||
"video": false,
|
||||
"integrationFolder": "src/cypress/integration",
|
||||
"fixtureFolder": "src/cypress/fixtures",
|
||||
"supportFile": "src/cypress/support/index.js",
|
||||
|
@ -37,7 +37,7 @@
|
||||
"build": "react-scripts build",
|
||||
"test:jest": "react-scripts test",
|
||||
"cy:start:app": "cross-env BROWSER=none react-scripts -r @cypress/instrument-cra start",
|
||||
"cy:start:wait": "start-server-and-test cy:start:app http://0.0.0.0:3000",
|
||||
"cy:start:wait": "start-server-and-test cy:start:app",
|
||||
"cy:open": "yarn run cy:start:wait -- \"cypress open\"",
|
||||
"cy:run": "yarn run cy:start:wait -- \"cypress run\"",
|
||||
"eject": "react-scripts eject"
|
||||
|
Loading…
x
Reference in New Issue
Block a user