test: Add cypress script
This commit is contained in:
parent
2306f84d1d
commit
dbbe52e444
@ -41,7 +41,7 @@
|
||||
"cy:start:wait": "start-server-and-test cy:start:app http://localhost:3000",
|
||||
"cy:install": "cypress install",
|
||||
"cy:verify": "cypress verify",
|
||||
"cy:run:ci": "cross-env CYPRESS_BASE_URL=http://frontend:3000 cypress run",
|
||||
"cy:run:ci": "cross-env CYPRESS_BASE_URL=http://frontend:3000 cypress run --browser chrome",
|
||||
"cy:open": "yarn run cy:start:wait -- \"cypress open\"",
|
||||
"cy:run": "yarn run wait-on http-get://frontend:3000 && yarn run cy:install && yarn run cy:verify && yarn run cy:run:ci",
|
||||
"eject": "react-scripts eject"
|
||||
|
@ -1,4 +1,4 @@
|
||||
import condensedMilk from "../../../cypress/fixtures/condensed_milk.json";
|
||||
import condensedMilk from "../fixtures/condensed_milk.json";
|
||||
|
||||
export {};
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
export {};
|
||||
|
||||
import condensedMilk from '../../../cypress/fixtures/condensed_milk.json'
|
||||
import condensedMilk from '../fixtures/condensed_milk.json'
|
||||
|
||||
describe('Url check', () => {
|
||||
beforeEach(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user