Set up cypress service

(along with CYPRESS_RECORD_KEY in Travis CI settings)
main
Isaiah Odhner 2019-11-04 23:18:23 -05:00
parent fb5496d2a4
commit 9a143821e5
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{
"projectId": "6im7v7",
"baseUrl": "http://localhost:11822",
"video": false
}

View File

@ -84,7 +84,7 @@
"dev": "live-server --ignorePattern=\"(node_modules|cypress|out)[/\\\\\\\\]|package\\.json|cypress\\.json\"",
"test:start-server": "live-server --port=11822 --no-browser --ignorePattern=\"(node_modules|cypress|out)[/\\\\\\\\]|package\\.json|cypress\\.json\"",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:run": "cypress run --record",
"cy:accept": "cypress run --env updateSnapshots=true",
"test": "start-server-and-test test:start-server http://localhost:11822 cy:run",
"accept": "start-server-and-test test:start-server http://localhost:11822 cy:accept"