test: Add cypress script
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mangiang 2021-11-14 16:26:01 -05:00
parent 5e68a0f223
commit a74f0f14cb

View File

@ -41,7 +41,7 @@
"cy:start:wait": "start-server-and-test cy:start:app http://localhost:3000", "cy:start:wait": "start-server-and-test cy:start:app http://localhost:3000",
"cypress": "cypress", "cypress": "cypress",
"cy:open": "yarn run cy:start:wait -- \"cypress open\"", "cy:open": "yarn run cy:start:wait -- \"cypress open\"",
"cy:run": "yarn run wait-on http-get://frontend:3000 && yarn run cypress run", "cy:run": "yarn run wait-on http-get://frontend:3000 && yarn run cypress install && yarn run cypress verify && yarn run cypress run",
"eject": "react-scripts eject" "eject": "react-scripts eject"
}, },
"eslintConfig": { "eslintConfig": {