test: Add cypress script
This commit is contained in:
parent
d4714042f3
commit
af50687b36
@ -39,6 +39,7 @@
|
||||
"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://localhost:3000",
|
||||
"cypress": "cypress",
|
||||
"cy:open": "yarn run cy:start:wait -- \"cypress open\"",
|
||||
"cy:run": "yarn run wait-on http-get://frontend:3000 && \"cypress run\"",
|
||||
"eject": "react-scripts eject"
|
||||
|
Loading…
x
Reference in New Issue
Block a user