Skip to content

Commit

Permalink
Save reports
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Oct 25, 2020
1 parent e1f9913 commit 147efe4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ jobs:
test_command: yarn test
- store_artifacts:
path: e2e-tests/visual-regression/__diff_output__
- store_test_results:
path: e2e-tests/visual-regression/cypress/results

starters_validate:
executor: node
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/visual-regression/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ yarn-error.log
# Cypress output
cypress/videos/
cypress/screenshots/
cypress/results/
__diff_output__
9 changes: 8 additions & 1 deletion e2e-tests/visual-regression/cypress.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{
"baseUrl": "http://localhost:9000"
"baseUrl": "http://localhost:9000",
"reporter": "junit",
"reporterOptions": {
"mochaFile": "cypress/results/junit-[hash].xml",
"overwrite": false,
"html": false,
"json": true
}
}
1 change: 1 addition & 0 deletions e2e-tests/visual-regression/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
},
"devDependencies": {
"cross-env": "^5.2.0",
"cypress-junit-reporter": "^1.3.1",
"gatsby-cypress": "0.4.11",
"is-ci": "^2.0.0",
"prettier": "2.0.4",
Expand Down

0 comments on commit 147efe4

Please sign in to comment.