test: Test fix CYPRESS_BASE_URL
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mangiang 2021-11-14 15:19:45 -05:00
parent b296c46363
commit a5f894ce2d
2 changed files with 3 additions and 2 deletions

View File

@ -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",

View File

@ -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"