|
| 1 | +exports['cypress - e2e test: cypress integration 1'] = ` |
| 2 | +
|
| 3 | +==================================================================================================== |
| 4 | +
|
| 5 | + (Run Starting) |
| 6 | +
|
| 7 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 8 | + │ Cypress: *.*.* │ |
| 9 | + │ Browser: Electron ** (headless) │ |
| 10 | + │ Specs: 3 found (compile-error.spec.js, fail.spec.js, success.spec..js) │ |
| 11 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 12 | +
|
| 13 | +
|
| 14 | +──────────────────────────────────────────────────────────────────────────────────────────────────── |
| 15 | + |
| 16 | + Running: compile-error.spec.js (1 of 3) |
| 17 | +
|
| 18 | +Oops...we found an error preparing this test file: |
| 19 | +
|
| 20 | + cypress/integration/compile-error.spec.js |
| 21 | +
|
| 22 | +The error was: |
| 23 | +
|
| 24 | +Error: Unexpected token |
| 25 | +
|
| 26 | +This occurred while Cypress was compiling and bundling your test code. This is usually caused by: |
| 27 | +
|
| 28 | +- A missing file or dependency |
| 29 | +- A syntax error in the file or one of its dependencies |
| 30 | +
|
| 31 | +Fix the error in your code and re-run your tests. |
| 32 | +
|
| 33 | + (Results) |
| 34 | +
|
| 35 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 36 | + │ Tests: 0 │ |
| 37 | + │ Passing: 0 │ |
| 38 | + │ Failing: 1 │ |
| 39 | + │ Pending: 0 │ |
| 40 | + │ Skipped: 0 │ |
| 41 | + │ Screenshots: 0 │ |
| 42 | + │ Video: false │ |
| 43 | + │ Duration: 0 seconds │ |
| 44 | + │ Spec Ran: compile-error.spec.js │ |
| 45 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 46 | +
|
| 47 | +
|
| 48 | +──────────────────────────────────────────────────────────────────────────────────────────────────── |
| 49 | + |
| 50 | + Running: fail.spec.js (2 of 3) |
| 51 | +
|
| 52 | +
|
| 53 | + foo |
| 54 | + 1) fails |
| 55 | +
|
| 56 | +
|
| 57 | + 0 passing (***ms) |
| 58 | + 1 failing |
| 59 | +
|
| 60 | + 1) foo |
| 61 | + fails: |
| 62 | +
|
| 63 | + AssertionError: expected 1 to be above 1 |
| 64 | + + expected - actual |
| 65 | +
|
| 66 | +
|
| 67 | + at Context.eval (http://localhost:****/__cypress/tests?p=cypress/integration/fail.spec.js:8:23) |
| 68 | +
|
| 69 | +
|
| 70 | +
|
| 71 | +
|
| 72 | + (Results) |
| 73 | +
|
| 74 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 75 | + │ Tests: 1 │ |
| 76 | + │ Passing: 0 │ |
| 77 | + │ Failing: 1 │ |
| 78 | + │ Pending: 0 │ |
| 79 | + │ Skipped: 0 │ |
| 80 | + │ Screenshots: 0 │ |
| 81 | + │ Video: false │ |
| 82 | + │ Duration: 0 seconds │ |
| 83 | + │ Spec Ran: fail.spec.js │ |
| 84 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 85 | +
|
| 86 | +
|
| 87 | +──────────────────────────────────────────────────────────────────────────────────────────────────── |
| 88 | + |
| 89 | + Running: success.spec..js (3 of 3) |
| 90 | +
|
| 91 | +
|
| 92 | + foo |
| 93 | + ✓ runs (***ms) |
| 94 | +
|
| 95 | +
|
| 96 | + 1 passing (***ms) |
| 97 | +
|
| 98 | +
|
| 99 | + (Results) |
| 100 | +
|
| 101 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 102 | + │ Tests: 1 │ |
| 103 | + │ Passing: 1 │ |
| 104 | + │ Failing: 0 │ |
| 105 | + │ Pending: 0 │ |
| 106 | + │ Skipped: 0 │ |
| 107 | + │ Screenshots: 0 │ |
| 108 | + │ Video: false │ |
| 109 | + │ Duration: 0 seconds │ |
| 110 | + │ Spec Ran: success.spec..js │ |
| 111 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 112 | +
|
| 113 | +
|
| 114 | +==================================================================================================== |
| 115 | +
|
| 116 | + (Run Finished) |
| 117 | +
|
| 118 | +
|
| 119 | + Spec Tests Passing Failing Pending Skipped |
| 120 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 121 | + │ ✖ compile-error.spec.js ***ms - - 1 - - │ |
| 122 | + ├────────────────────────────────────────────────────────────────────────────────────────────────┤ |
| 123 | + │ ✖ fail.spec.js ***ms 1 - 1 - - │ |
| 124 | + ├────────────────────────────────────────────────────────────────────────────────────────────────┤ |
| 125 | + │ ✔ success.spec..js ***ms 1 1 - - - │ |
| 126 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 127 | + ✖ 2 of 3 failed (67%) ***ms 2 1 2 - - |
| 128 | +
|
| 129 | +
|
| 130 | +` |
0 commit comments