UNPKG

@revoloo/cypress6

Version:

Cypress.io end to end testing tool

155 lines (95 loc) 10.3 kB
exports['e2e config provides various environment details 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Cypress: 1.2.3 │ │ Browser: FooBrowser 88 │ │ Specs: 1 found (config_passing_spec.js) │ │ Searched: cypress/integration/config_passing_spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: config_passing_spec.js (1 of 1) Cypress static methods + props ✓ .version ✓ .platform ✓ .arch ✓ .browser ✓ .spec .env ✓ doesn't die on <script> tags 6 passing (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 6 │ │ Passing: 6 │ │ Failing: 0 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: true │ │ Duration: X seconds │ │ Spec Ran: config_passing_spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/config_passing_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ ✔ config_passing_spec.js XX:XX 6 6 - - - │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ✔ All specs passed! XX:XX 6 6 - - - ` exports['e2e config applies defaultCommandTimeout globally 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Cypress: 1.2.3 │ │ Browser: FooBrowser 88 │ │ Specs: 1 found (dom_times_out_spec.js) │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: dom_times_out_spec.js (1 of 1) short defaultCommandTimeout 1) times out looking for a missing element 0 passing 1 failing 1) short defaultCommandTimeout times out looking for a missing element: AssertionError: Timed out retrying after 1000ms: Expected to find element: \`#bar\`, but never found it. [stack trace lines] (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 1 │ │ Passing: 0 │ │ Failing: 1 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 1 │ │ Video: true │ │ Duration: X seconds │ │ Spec Ran: dom_times_out_spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Screenshots) - /XXX/XXX/XXX/cypress/screenshots/dom_times_out_spec.js/short defaultCommandTimeo (1280x720) ut -- times out looking for a missing element (failed).png (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/dom_times_out_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ ✖ dom_times_out_spec.js XX:XX 1 - 1 - - │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ✖ 1 of 1 failed (100%) XX:XX 1 - 1 - - ` exports['e2e config throws error when invalid viewportWidth in the configuration file 1'] = ` We found an invalid value in the file: \`cypress.json\` Expected \`viewportWidth\` to be a number. Instead the value was: \`"foo"\` ` exports['e2e config throws error when invalid browser in the configuration file 1'] = ` We found an invalid value in the file: \`cypress.json\` Found an error while validating the \`browsers\` list. Expected \`family\` to be either chromium or firefox. Instead the value was: \`{"name":"bad browser","family":"unknown family","displayName":"Bad browser","version":"no version","path":"/path/to","majorVersion":123}\` `