@@ -7,8 +7,7 @@ exports['cypress - e2e test: cypress integration 1'] = `
77 ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
88 │ Cypress: *.*.* │
99 │ Browser: Electron ** (headless) │
10- │ Specs: 4 found (compile-error.spec.js, fail.spec.js, runtime-error.spec.js, success.spec. │
11- │ js) │
10+ │ Specs: 4 found (compile-error.spec.js, fail.spec.js, pass.spec.js, runtime-error.spec.js) │
1211 └────────────────────────────────────────────────────────────────────────────────────────────────┘
1312
1413
@@ -51,14 +50,14 @@ Fix the error in your code and re-run your tests.
5150 Running: fail.spec.js (2 of 4)
5251
5352
54- foo
53+ fail on purpose
5554 1) fails
5655
5756
5857 0 passing (***ms)
5958 1 failing
6059
61- 1) foo
60+ 1) fail on purpose
6261 fails:
6362
6463 AssertionError: expected 1 to be above 1
@@ -87,20 +86,20 @@ Fix the error in your code and re-run your tests.
8786
8887────────────────────────────────────────────────────────────────────────────────────────────────────
8988
90- Running: runtime-error .spec.js (3 of 4)
89+ Running: pass .spec.js (3 of 4)
9190
9291
93- foo
94- 1) has runtime error
92+ success
93+ 1) pass after ***ms
9594
9695
9796 0 passing (***ms)
9897 1 failing
9998
100- 1) foo
101- has runtime error :
102- Error: error thrown on purpose
103- at Context.eval (http://localhost:****/__cypress/tests?p=cypress/integration/runtime-error .spec.js:8:13 )
99+ 1) success
100+ pass after ***ms :
101+ TypeError: cy.await is not a function
102+ at Context.eval (http://localhost:****/__cypress/tests?p=cypress/integration/pass .spec.js:8:10 )
104103
105104
106105
@@ -116,34 +115,42 @@ Fix the error in your code and re-run your tests.
116115 │ Screenshots: 0 │
117116 │ Video: false │
118117 │ Duration: 0 seconds │
119- │ Spec Ran: runtime-error .spec.js │
118+ │ Spec Ran: pass .spec.js │
120119 └────────────────────────────────────────────────────────────────────────────────────────────────┘
121120
122121
123122────────────────────────────────────────────────────────────────────────────────────────────────────
124123
125- Running: success.spec.js (4 of 4)
124+ Running: runtime-error.spec.js (4 of 4)
125+
126126
127+ runtime error
128+ 1) throws a error
127129
128- foo
129- ✓ works (***ms)
130+
131+ 0 passing (***ms)
132+ 1 failing
133+
134+ 1) runtime error
135+ throws a error:
136+ Error: error thrown on purpose
137+ at Context.eval (http://localhost:****/__cypress/tests?p=cypress/integration/runtime-error.spec.js:8:13)
130138
131139
132- 1 passing (***ms)
133140
134141
135142 (Results)
136143
137144 ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
138145 │ Tests: 1 │
139- │ Passing: 1 │
140- │ Failing: 0 │
146+ │ Passing: 0 │
147+ │ Failing: 1 │
141148 │ Pending: 0 │
142149 │ Skipped: 0 │
143150 │ Screenshots: 0 │
144151 │ Video: false │
145152 │ Duration: 0 seconds │
146- │ Spec Ran: success .spec.js │
153+ │ Spec Ran: runtime-error .spec.js │
147154 └────────────────────────────────────────────────────────────────────────────────────────────────┘
148155
149156
@@ -158,11 +165,11 @@ Fix the error in your code and re-run your tests.
158165 ├────────────────────────────────────────────────────────────────────────────────────────────────┤
159166 │ ✖ fail.spec.js ***ms 1 - 1 - - │
160167 ├────────────────────────────────────────────────────────────────────────────────────────────────┤
161- │ ✖ runtime-error .spec.js ***ms 1 - 1 - - │
168+ │ ✖ pass .spec.js ***ms 1 - 1 - - │
162169 ├────────────────────────────────────────────────────────────────────────────────────────────────┤
163- │ ✔ success .spec.js ***ms 1 1 - - - │
170+ │ ✖ runtime-error .spec.js ***ms 1 - 1 - - │
164171 └────────────────────────────────────────────────────────────────────────────────────────────────┘
165- ✖ 3 of 4 failed (75 %) ***ms 3 1 3 - -
172+ ✖ 4 of 4 failed (100 %) ***ms 3 - 4 - -
166173
167174
168175`
0 commit comments