File tree 1 file changed +27
-1
lines changed
1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 8
8
version : 2.1
9
9
orbs :
10
10
# use Cypress orb from CircleCI registry
11
- cypress : cypress-io/cypress@1.16.1
11
+ cypress : cypress-io/cypress@1.23.0
12
12
# for testing on Windows
13
13
# https://circleci.com/docs/2.0/hello-world-windows/
14
14
win : circleci/windows@1
58
58
- store_artifacts :
59
59
path : cypress\videos
60
60
61
+ # let's see if the current HTML pages still work
62
+ # against the tests in the latest Cypress version
63
+ # if they work, then this project can be deployed safely
64
+ test-html-against-test-runner :
65
+ executor : cypress/base-12
66
+ steps :
67
+ - attach_workspace :
68
+ at : ~/
69
+ - run :
70
+ name : Test HTML pages
71
+ # note: need to scaffold Cypress files
72
+ # https://github.com/cypress-io/cypress/issues/7554
73
+ command : |
74
+ mkdir /tmp/test-folder
75
+ cd /tmp/test-folder
76
+ npm init -y
77
+ npm i -D cypress
78
+ echo '{}' >> cypress.json
79
+ echo "Testing existing pages"
80
+ CYPRESS_INTERNAL_FORCE_SCAFFOLD=1 npx cypress run
81
+
61
82
release :
62
83
executor : cypress/base-10
63
84
steps :
@@ -158,6 +179,11 @@ workflows:
158
179
group : ' 2x-firefox on CircleCI'
159
180
start : ' npm run start:ci'
160
181
182
+ - test-html-against-test-runner :
183
+ name : Test HTML against Test Runner
184
+ requires :
185
+ - Linux install
186
+
161
187
- release :
162
188
filters :
163
189
branches :
You can’t perform that action at this time.
0 commit comments