-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from NoriSte/feature/video-recordings
Re-add the Cypress Dashboard id
- Loading branch information
Showing
7 changed files
with
3,788 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ node_modules | |
.DS_Store | ||
cypress/fixtures | ||
cypress/videos | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const npm = require('npm') | ||
|
||
npm.load(() => { | ||
const uploadRecordings = process.env.npm_package_config_cypressUploadRecordings; | ||
const key = process.env.CYPRESS_RECORD_KEY; | ||
if(uploadRecordings && !key) { | ||
throw 'Missing Cypress record key'; | ||
} | ||
const options = uploadRecordings && key ? ['--record', '--key', key] : []; | ||
npm.commands['run-script'](['cy:run', ...options]); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"projectId": "j2kxip" | ||
"projectId": "g21npg" | ||
} |
Oops, something went wrong.