|
| 1 | +exports['e2e prompt / fails when experimentalPromptCommand is not set'] = ` |
| 2 | +
|
| 3 | +==================================================================================================== |
| 4 | +
|
| 5 | + (Run Starting) |
| 6 | +
|
| 7 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 8 | + │ Cypress: 1.2.3 │ |
| 9 | + │ Browser: FooBrowser 88 │ |
| 10 | + │ Specs: 1 found (prompt.cy.js) │ |
| 11 | + │ Searched: cypress/e2e/prompt.cy.js │ |
| 12 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 13 | +
|
| 14 | +
|
| 15 | +──────────────────────────────────────────────────────────────────────────────────────────────────── |
| 16 | + |
| 17 | + Running: prompt.cy.js (1 of 1) |
| 18 | +
|
| 19 | +
|
| 20 | + prompt |
| 21 | + 1) should fail when experimentalPromptCommand is not set |
| 22 | +
|
| 23 | +
|
| 24 | + 0 passing |
| 25 | + 1 failing |
| 26 | +
|
| 27 | + 1) prompt |
| 28 | + should fail when experimentalPromptCommand is not set: |
| 29 | + PromptNotEnabledError: \`cy.prompt\` cannot be called without the \`experimentalPromptCommand\` being set. |
| 30 | +
|
| 31 | +Please set this in your Cypress config file to continue using \`cy.prompt\`. |
| 32 | + [stack trace lines] |
| 33 | +
|
| 34 | +
|
| 35 | +
|
| 36 | +
|
| 37 | + (Results) |
| 38 | +
|
| 39 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 40 | + │ Tests: 1 │ |
| 41 | + │ Passing: 0 │ |
| 42 | + │ Failing: 1 │ |
| 43 | + │ Pending: 0 │ |
| 44 | + │ Skipped: 0 │ |
| 45 | + │ Screenshots: 1 │ |
| 46 | + │ Video: false │ |
| 47 | + │ Duration: X seconds │ |
| 48 | + │ Spec Ran: prompt.cy.js │ |
| 49 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 50 | +
|
| 51 | +
|
| 52 | + (Screenshots) |
| 53 | +
|
| 54 | + - /XXX/XXX/XXX/cypress/screenshots/prompt.cy.js/prompt -- should fail when experim (1280x720) |
| 55 | + entalPromptCommand is not set (failed).png |
| 56 | +
|
| 57 | +
|
| 58 | +==================================================================================================== |
| 59 | +
|
| 60 | + (Run Finished) |
| 61 | +
|
| 62 | +
|
| 63 | + Spec Tests Passing Failing Pending Skipped |
| 64 | + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ |
| 65 | + │ ✖ prompt.cy.js XX:XX 1 - 1 - - │ |
| 66 | + └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
| 67 | + ✖ 1 of 1 failed (100%) XX:XX 1 - 1 - - |
| 68 | +
|
| 69 | +
|
| 70 | +` |
0 commit comments