test: Add cypress script

This commit is contained in:
SPT-dev 2023-03-02 21:12:39 -05:00
parent c39548a670
commit d6deed9aab

View File

@ -41,7 +41,7 @@
"cy:start:wait": "start-server-and-test cy:start:app http://localhost:3000",
"cypress": "cypress",
"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 run",
"eject": "react-scripts eject"
},
"eslintConfig": {