Skip to content

Instantly share code, notes, and snippets.

@prescottprue
Created November 25, 2018 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prescottprue/083dfe8aaeb1a791d68773c6bbb024c8 to your computer and use it in GitHub Desktop.
Save prescottprue/083dfe8aaeb1a791d68773c6bbb024c8 to your computer and use it in GitHub Desktop.
Npm scripts for cypress-firebase + cypress tests
"scripts": {
"build:testConfig": "cypress-firebase createTestEnvFile",
"test": "npm run build:testConfig && cypress run",
"test:open": "npm run build:testConfig && cypress open",
"test:stage": "npm run test:run -- --env envName=stage",
"test:open:stage": "npm run test:open -- --env envName=stage",
"test:open:debug": "cross-env DEBUG=cypress:* npm test:open"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment