UNPKG

@revoloo/cypress6

Version:

Cypress.io end to end testing tool

741 lines (477 loc) 48.7 kB
exports['e2e reporters reports error if cannot load reporter 1'] = ` Could not load reporter by name: module-does-not-exist We searched for the reporter in these paths: - /foo/bar/.projects/e2e/module-does-not-exist - /foo/bar/.projects/e2e/node_modules/module-does-not-exist The error we received was: Cannot find module '/foo/bar/.projects/e2e/node_modules/module-does-not-exist' Require stack: - lib/reporter.js - lib/project-base.js - lib/modes/run.js - lib/modes/run-e2e.js - lib/modes/index.js - lib/cypress.js - index.js - Learn more at https://on.cypress.io/reporters ` exports['e2e reporters supports junit reporter and reporter options 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Cypress: 1.2.3 Browser: FooBrowser 88 Specs: 1 found (simple_passing_spec.js) Searched: cypress/integration/simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple_passing_spec.js (1 of 1) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Tests: 1 Passing: 1 Failing: 0 Pending: 0 Skipped: 0 Screenshots: 0 Video: true Duration: X seconds Spec Ran: simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/simple_passing_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ simple_passing_spec.js XX:XX 1 1 - - - └────────────────────────────────────────────────────────────────────────────────────────────────┘ All specs passed! XX:XX 1 1 - - - ` exports['e2e reporters supports local custom reporter 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Cypress: 1.2.3 Browser: FooBrowser 88 Specs: 1 found (simple_passing_spec.js) Searched: cypress/integration/simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple_passing_spec.js (1 of 1) passes finished! (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Tests: 1 Passing: 1 Failing: 0 Pending: 0 Skipped: 0 Screenshots: 0 Video: true Duration: X seconds Spec Ran: simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/simple_passing_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ simple_passing_spec.js XX:XX 1 1 - - - └────────────────────────────────────────────────────────────────────────────────────────────────┘ All specs passed! XX:XX 1 1 - - - ` exports['e2e reporters mochawesome passes with mochawesome-1.5.2 npm custom reporter 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Cypress: 1.2.3 Browser: FooBrowser 88 Specs: 1 found (simple_passing_spec.js) Searched: cypress/integration/simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple_passing_spec.js (1 of 1) [mochawesome] Generating report files... simple passing spec passes 1 passing [mochawesome] Report saved to mochawesome-reports/mochawesome.html (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Tests: 1 Passing: 1 Failing: 0 Pending: 0 Skipped: 0 Screenshots: 0 Video: true Duration: X seconds Spec Ran: simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/simple_passing_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ simple_passing_spec.js XX:XX 1 1 - - - └────────────────────────────────────────────────────────────────────────────────────────────────┘ All specs passed! XX:XX 1 1 - - - ` exports['e2e reporters mochawesome fails with mochawesome-1.5.2 npm custom reporter 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Cypress: 1.2.3 Browser: FooBrowser 88 Specs: 1 found (simple_failing_hook_spec.js) Searched: cypress/integration/simple_failing_hook_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple_failing_hook_spec.js (1 of 1) [mochawesome] Generating report files... simple failing hook spec beforeEach hooks 1) "before each" hook for "never gets here" pending - is pending afterEach hooks 2) "after each" hook for "runs this" after hooks runs this 3) "after all" hook for "fails on this" 1 passing 1 pending 3 failing 1) simple failing hook spec beforeEach hooks "before each" hook for "never gets here": Error: fail1 Because this error occurred during a \`before each\` hook we are skipping the remaining tests in the current suite: \`beforeEach hooks\` [stack trace lines] 2) simple failing hook spec afterEach hooks "after each" hook for "runs this": Error: fail2 Because this error occurred during a \`after each\` hook we are skipping the remaining tests in the current suite: \`afterEach hooks\` [stack trace lines] 3) simple failing hook spec after hooks "after all" hook for "fails on this": Error: fail3 Because this error occurred during a \`after all\` hook we are skipping the remaining tests in the current suite: \`after hooks\` [stack trace lines] [mochawesome] Report saved to mochawesome-reports/mochawesome.html (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Tests: 6 Passing: 1 Failing: 3 Pending: 1 Skipped: 1 Screenshots: 3 Video: true Duration: X seconds Spec Ran: simple_failing_hook_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Screenshots) - /XXX/XXX/XXX/cypress/screenshots/simple_failing_hook_spec.js/simple failing hook (1280x720) spec -- beforeEach hooks -- never gets here -- before each hook (failed).png - /XXX/XXX/XXX/cypress/screenshots/simple_failing_hook_spec.js/simple failing hook (1280x720) spec -- afterEach hooks -- runs this -- after each hook (failed).png - /XXX/XXX/XXX/cypress/screenshots/simple_failing_hook_spec.js/simple failing hook (1280x720) spec -- after hooks -- fails on this -- after all hook (failed).png (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/simple_failing_hook_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ simple_failing_hook_spec.js XX:XX 6 1 3 1 1 └────────────────────────────────────────────────────────────────────────────────────────────────┘ 1 of 1 failed (100%) XX:XX 6 1 3 1 1 ` exports['e2e reporters mochawesome passes with mochawesome-2.3.1 npm custom reporter 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Cypress: 1.2.3 Browser: FooBrowser 88 Specs: 1 found (simple_passing_spec.js) Searched: cypress/integration/simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple_passing_spec.js (1 of 1) simple passing spec passes 1 passing [mochawesome] Report JSON saved to /foo/bar/.projects/e2e/mochawesome-report/mochawesome.json [mochawesome] Report HTML saved to /foo/bar/.projects/e2e/mochawesome-report/mochawesome.html (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Tests: 1 Passing: 1 Failing: 0 Pending: 0 Skipped: 0 Screenshots: 0 Video: true Duration: X seconds Spec Ran: simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/simple_passing_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ simple_passing_spec.js XX:XX 1 1 - - - └────────────────────────────────────────────────────────────────────────────────────────────────┘ All specs passed! XX:XX 1 1 - - - ` exports['e2e reporters mochawesome fails with mochawesome-2.3.1 npm custom reporter 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Cypress: 1.2.3 Browser: FooBrowser 88 Specs: 1 found (simple_failing_hook_spec.js) Searched: cypress/integration/simple_failing_hook_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple_failing_hook_spec.js (1 of 1) simple failing hook spec beforeEach hooks 1) "before each" hook for "never gets here" pending - is pending afterEach hooks 2) "after each" hook for "runs this" after hooks runs this 3) "after all" hook for "fails on this" 1 passing 1 pending 3 failing 1) simple failing hook spec beforeEach hooks "before each" hook for "never gets here": Error: fail1 Because this error occurred during a \`before each\` hook we are skipping the remaining tests in the current suite: \`beforeEach hooks\` [stack trace lines] 2) simple failing hook spec afterEach hooks "after each" hook for "runs this": Error: fail2 Because this error occurred during a \`after each\` hook we are skipping the remaining tests in the current suite: \`afterEach hooks\` [stack trace lines] 3) simple failing hook spec after hooks "after all" hook for "fails on this": Error: fail3 Because this error occurred during a \`after all\` hook we are skipping the remaining tests in the current suite: \`after hooks\` [stack trace lines] [mochawesome] Report JSON saved to /foo/bar/.projects/e2e/mochawesome-report/mochawesome.json [mochawesome] Report HTML saved to /foo/bar/.projects/e2e/mochawesome-report/mochawesome.html (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Tests: 6 Passing: 1 Failing: 3 Pending: 1 Skipped: 1 Screenshots: 3 Video: true Duration: X seconds Spec Ran: simple_failing_hook_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Screenshots) - /XXX/XXX/XXX/cypress/screenshots/simple_failing_hook_spec.js/simple failing hook (1280x720) spec -- beforeEach hooks -- never gets here -- before each hook (failed).png - /XXX/XXX/XXX/cypress/screenshots/simple_failing_hook_spec.js/simple failing hook (1280x720) spec -- afterEach hooks -- runs this -- after each hook (failed).png - /XXX/XXX/XXX/cypress/screenshots/simple_failing_hook_spec.js/simple failing hook (1280x720) spec -- after hooks -- fails on this -- after all hook (failed).png (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/simple_failing_hook_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ simple_failing_hook_spec.js XX:XX 6 1 3 1 1 └────────────────────────────────────────────────────────────────────────────────────────────────┘ 1 of 1 failed (100%) XX:XX 6 1 3 1 1 ` exports['e2e reporters mochawesome passes with mochawesome-3.0.1 npm custom reporter 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Cypress: 1.2.3 Browser: FooBrowser 88 Specs: 1 found (simple_passing_spec.js) Searched: cypress/integration/simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple_passing_spec.js (1 of 1) simple passing spec passes 1 passing [mochawesome] Report JSON saved to /foo/bar/.projects/e2e/mochawesome-report/mochawesome.json [mochawesome] Report HTML saved to /foo/bar/.projects/e2e/mochawesome-report/mochawesome.html (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Tests: 1 Passing: 1 Failing: 0 Pending: 0 Skipped: 0 Screenshots: 0 Video: true Duration: X seconds Spec Ran: simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/simple_passing_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ simple_passing_spec.js XX:XX 1 1 - - - └────────────────────────────────────────────────────────────────────────────────────────────────┘ All specs passed! XX:XX 1 1 - - - ` exports['e2e reporters mochawesome fails with mochawesome-3.0.1 npm custom reporter 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Cypress: 1.2.3 Browser: FooBrowser 88 Specs: 1 found (simple_failing_hook_spec.js) Searched: cypress/integration/simple_failing_hook_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple_failing_hook_spec.js (1 of 1) simple failing hook spec beforeEach hooks 1) "before each" hook for "never gets here" pending - is pending afterEach hooks 2) "after each" hook for "runs this" after hooks runs this 3) "after all" hook for "fails on this" 1 passing 1 pending 3 failing 1) simple failing hook spec beforeEach hooks "before each" hook for "never gets here": Error: fail1 Because this error occurred during a \`before each\` hook we are skipping the remaining tests in the current suite: \`beforeEach hooks\` [stack trace lines] 2) simple failing hook spec afterEach hooks "after each" hook for "runs this": Error: fail2 Because this error occurred during a \`after each\` hook we are skipping the remaining tests in the current suite: \`afterEach hooks\` [stack trace lines] 3) simple failing hook spec after hooks "after all" hook for "fails on this": Error: fail3 Because this error occurred during a \`after all\` hook we are skipping the remaining tests in the current suite: \`after hooks\` [stack trace lines] [mochawesome] Report JSON saved to /foo/bar/.projects/e2e/mochawesome-report/mochawesome.json [mochawesome] Report HTML saved to /foo/bar/.projects/e2e/mochawesome-report/mochawesome.html (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Tests: 6 Passing: 1 Failing: 3 Pending: 1 Skipped: 1 Screenshots: 3 Video: true Duration: X seconds Spec Ran: simple_failing_hook_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Screenshots) - /XXX/XXX/XXX/cypress/screenshots/simple_failing_hook_spec.js/simple failing hook (1280x720) spec -- beforeEach hooks -- never gets here -- before each hook (failed).png - /XXX/XXX/XXX/cypress/screenshots/simple_failing_hook_spec.js/simple failing hook (1280x720) spec -- afterEach hooks -- runs this -- after each hook (failed).png - /XXX/XXX/XXX/cypress/screenshots/simple_failing_hook_spec.js/simple failing hook (1280x720) spec -- after hooks -- fails on this -- after all hook (failed).png (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/simple_failing_hook_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ simple_failing_hook_spec.js XX:XX 6 1 3 1 1 └────────────────────────────────────────────────────────────────────────────────────────────────┘ 1 of 1 failed (100%) XX:XX 6 1 3 1 1 ` exports['e2e reporters reports error when thrown from reporter 1'] = ` Could not load reporter by name: reporters/throws.js We searched for the reporter in these paths: - /foo/bar/.projects/e2e/reporters/throws.js - /foo/bar/.projects/e2e/node_modules/reporters/throws.js The error we received was: Error: this reporter threw an error [stack trace lines] Learn more at https://on.cypress.io/reporters ` exports['e2e reporters supports teamcity reporter and reporter options 1'] = ` ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Cypress: 1.2.3 Browser: FooBrowser 88 Specs: 1 found (simple_passing_spec.js) Searched: cypress/integration/simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple_passing_spec.js (1 of 1) ##teamcity[testSuiteStarted name='top suite' flowId='12345'] ##teamcity[testSuiteStarted name='simple passing spec' flowId='12345'] ##teamcity[testStarted name='passes' captureStandardOutput='true' flowId='12345'] ##teamcity[testFinished name='passes' duration='XXXX' flowId='12345'] ##teamcity[testSuiteFinished name='simple passing spec' duration='XXXX' flowId='12345'] ##teamcity[testSuiteFinished name='top suite' duration='XXXX' flowId='12345'] (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ Tests: 1 Passing: 1 Failing: 0 Pending: 0 Skipped: 0 Screenshots: 0 Video: true Duration: X seconds Spec Ran: simple_passing_spec.js └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /XXX/XXX/XXX/cypress/videos/simple_passing_spec.js.mp4 (X second) ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ simple_passing_spec.js XX:XX 1 1 - - - └────────────────────────────────────────────────────────────────────────────────────────────────┘ All specs passed! XX:XX 1 1 - - - `