|
| 1 | +exports['cy.pause() in run mode / pauses with --headed and --no-exit'] = ` |
| 2 | +
|
| 3 | +==================================================================================================== |
| 4 | +
|
| 5 | + (Run Starting) |
| 6 | +
|
| 7 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 8 | + │ Cypress: 1.2.3 │ |
| 9 | + │ Browser: FooBrowser 88 │ |
| 10 | + │ Specs: 1 found (pause_spec.js) │ |
| 11 | + │ Searched: cypress/integration/pause_spec.js │ |
| 12 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 13 | +
|
| 14 | +
|
| 15 | +──────────────────────────────────────────────────────────────────────────────────────────────────── |
| 16 | + |
| 17 | + Running: pause_spec.js (1 of 1) |
| 18 | +
|
| 19 | +
|
| 20 | + cy.pause() |
| 21 | + ✓ pauses |
| 22 | +
|
| 23 | +
|
| 24 | + 1 passing |
| 25 | +
|
| 26 | +not exiting due to options.exit being false |
| 27 | +
|
| 28 | +` |
| 29 | + |
| 30 | +exports['cy.pause() in run mode / does not pause if headless'] = ` |
| 31 | +
|
| 32 | +==================================================================================================== |
| 33 | +
|
| 34 | + (Run Starting) |
| 35 | +
|
| 36 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 37 | + │ Cypress: 1.2.3 │ |
| 38 | + │ Browser: FooBrowser 88 │ |
| 39 | + │ Specs: 1 found (pause_spec.js) │ |
| 40 | + │ Searched: cypress/integration/pause_spec.js │ |
| 41 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 42 | +
|
| 43 | +
|
| 44 | +──────────────────────────────────────────────────────────────────────────────────────────────────── |
| 45 | + |
| 46 | + Running: pause_spec.js (1 of 1) |
| 47 | +
|
| 48 | +
|
| 49 | + cy.pause() |
| 50 | + ✓ pauses |
| 51 | +
|
| 52 | +
|
| 53 | + 1 passing |
| 54 | +
|
| 55 | +not exiting due to options.exit being false |
| 56 | +
|
| 57 | +` |
| 58 | + |
| 59 | +exports['cy.pause() in run mode / does not pause without --no-exit'] = ` |
| 60 | +
|
| 61 | +==================================================================================================== |
| 62 | +
|
| 63 | + (Run Starting) |
| 64 | +
|
| 65 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 66 | + │ Cypress: 1.2.3 │ |
| 67 | + │ Browser: FooBrowser 88 │ |
| 68 | + │ Specs: 1 found (pause_spec.js) │ |
| 69 | + │ Searched: cypress/integration/pause_spec.js │ |
| 70 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 71 | +
|
| 72 | +
|
| 73 | +──────────────────────────────────────────────────────────────────────────────────────────────────── |
| 74 | + |
| 75 | + Running: pause_spec.js (1 of 1) |
| 76 | +
|
| 77 | +
|
| 78 | + cy.pause() |
| 79 | + ✓ pauses |
| 80 | +
|
| 81 | +
|
| 82 | + 1 passing |
| 83 | +
|
| 84 | +
|
| 85 | + (Results) |
| 86 | +
|
| 87 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 88 | + │ Tests: 1 │ |
| 89 | + │ Passing: 1 │ |
| 90 | + │ Failing: 0 │ |
| 91 | + │ Pending: 0 │ |
| 92 | + │ Skipped: 0 │ |
| 93 | + │ Screenshots: 0 │ |
| 94 | + │ Video: true │ |
| 95 | + │ Duration: X seconds │ |
| 96 | + │ Spec Ran: pause_spec.js │ |
| 97 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 98 | +
|
| 99 | +
|
| 100 | + (Video) |
| 101 | +
|
| 102 | + - Started processing: Compressing to 32 CRF |
| 103 | + - Finished processing: /XXX/XXX/XXX/cypress/videos/pause_spec.js.mp4 (X second) |
| 104 | +
|
| 105 | +
|
| 106 | +==================================================================================================== |
| 107 | +
|
| 108 | + (Run Finished) |
| 109 | +
|
| 110 | +
|
| 111 | + Spec Tests Passing Failing Pending Skipped |
| 112 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 113 | + │ ✔ pause_spec.js XX:XX 1 1 - - - │ |
| 114 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 115 | + ✔ All specs passed! XX:XX 1 1 - - - |
| 116 | +
|
| 117 | +
|
| 118 | +` |
| 119 | + |
| 120 | +exports['cy.pause() in run mode / does not pause without --headed and --no-exit'] = ` |
| 121 | +
|
| 122 | +==================================================================================================== |
| 123 | +
|
| 124 | + (Run Starting) |
| 125 | +
|
| 126 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 127 | + │ Cypress: 1.2.3 │ |
| 128 | + │ Browser: FooBrowser 88 │ |
| 129 | + │ Specs: 1 found (pause_spec.js) │ |
| 130 | + │ Searched: cypress/integration/pause_spec.js │ |
| 131 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 132 | +
|
| 133 | +
|
| 134 | +──────────────────────────────────────────────────────────────────────────────────────────────────── |
| 135 | + |
| 136 | + Running: pause_spec.js (1 of 1) |
| 137 | +
|
| 138 | +
|
| 139 | + cy.pause() |
| 140 | + ✓ pauses |
| 141 | +
|
| 142 | +
|
| 143 | + 1 passing |
| 144 | +
|
| 145 | +
|
| 146 | + (Results) |
| 147 | +
|
| 148 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 149 | + │ Tests: 1 │ |
| 150 | + │ Passing: 1 │ |
| 151 | + │ Failing: 0 │ |
| 152 | + │ Pending: 0 │ |
| 153 | + │ Skipped: 0 │ |
| 154 | + │ Screenshots: 0 │ |
| 155 | + │ Video: true │ |
| 156 | + │ Duration: X seconds │ |
| 157 | + │ Spec Ran: pause_spec.js │ |
| 158 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 159 | +
|
| 160 | +
|
| 161 | + (Video) |
| 162 | +
|
| 163 | + - Started processing: Compressing to 32 CRF |
| 164 | + - Finished processing: /XXX/XXX/XXX/cypress/videos/pause_spec.js.mp4 (X second) |
| 165 | +
|
| 166 | +
|
| 167 | +==================================================================================================== |
| 168 | +
|
| 169 | + (Run Finished) |
| 170 | +
|
| 171 | +
|
| 172 | + Spec Tests Passing Failing Pending Skipped |
| 173 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 174 | + │ ✔ pause_spec.js XX:XX 1 1 - - - │ |
| 175 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 176 | + ✔ All specs passed! XX:XX 1 1 - - - |
| 177 | +
|
| 178 | +
|
| 179 | +` |
0 commit comments