Skip to content

Commit f5fde21

Browse files
committed
test(cypress): add recordings
1 parent fa3d928 commit f5fde21

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ before_script:
3737
script:
3838
- mvn validate
3939
- mvn test
40-
- npm run cypress
40+
- npm run cypress -- --record --key $CYPRESS_KEY
4141

4242
after_success:
4343
- docker ps

cypress.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"baseUrl": "http://localhost:8080/exist/apps/doc",
3+
"projectId": "h8zx19",
34
"fileServerFolder": "src/main/xar-resources",
45
"ignoreTestFiles": "src/test/cypress/integration/examples/*.js",
56
"fixturesFolder": "src/test/cypress/fixtures",
67
"integrationFolder": "src/test/cypress/integration",
78
"pluginsFile": "src/test/cypress/plugins/index.js",
89
"screenshotsFolder": "src/test/cypress/screenshots",
910
"supportFile": "src/test/cypress/support/index.js",
10-
"videosFolder": "src/test/cypress/videos"
11+
"videosFolder": "src/test/cypress/videos",
12+
"projectId": "h8zx19"
1113
}

0 commit comments

Comments
 (0)