diff --git a/packages/server/lib/modes/run.ts b/packages/server/lib/modes/run.ts index 60ee0ccf49f4..a203552770cb 100644 --- a/packages/server/lib/modes/run.ts +++ b/packages/server/lib/modes/run.ts @@ -675,10 +675,14 @@ async function waitForTestsToFinishRunning (options: { project: Project, screens project.server.reset() } + let videoCompressionFailed = false + if (videoExists && !skippedSpec && !videoCaptureFailed) { const span = telemetry.startSpan({ name: 'video:compression' }) const chaptersConfig = videoCapture.generateFfmpegChaptersConfig(results.tests) + printResults.printVideoHeader() + try { debug('compressing recording') @@ -700,13 +704,19 @@ async function waitForTestsToFinishRunning (options: { project: Project, screens }, }) } catch (err) { - videoCaptureFailed = true + videoCompressionFailed = true warnVideoCompressionFailed(err) } span?.end() } - if (videoCaptureFailed) { + // only fail to print the video if capturing the video fails. + // otherwise, print the video path to the console if it exists regardless of whether compression fails or not + if (!videoCaptureFailed && videoExists) { + printResults.printVideoPath(videoName) + } + + if (videoCaptureFailed || videoCompressionFailed) { results.video = null } diff --git a/packages/server/lib/util/print-run.ts b/packages/server/lib/util/print-run.ts index 961735ed05da..556b55128a93 100644 --- a/packages/server/lib/util/print-run.ts +++ b/packages/server/lib/util/print-run.ts @@ -477,12 +477,6 @@ function displayScreenshots (screenshots: Screenshot[] = []) { export function displayVideoCompressionProgress (opts: { videoName: string, videoCompression: number | false }) { console.log('') - terminal.header('Video', { - color: ['cyan'], - }) - - console.log('') - const table = terminal.table({ colWidths: [3, 21, 76], colAligns: ['left', 'left', 'left'], @@ -534,12 +528,6 @@ export function displayVideoCompressionProgress (opts: { videoName: string, vide ]) console.log(table.toString()) - - console.log('') - - console.log(` - Video output: ${formatPath(opts.videoName, undefined, 'cyan')}`) - - console.log('') } if (Date.now() - progress > throttle) { @@ -553,3 +541,21 @@ export function displayVideoCompressionProgress (opts: { videoName: string, vide }, } } + +export const printVideoHeader = () => { + console.log('') + + terminal.header('Video', { + color: ['cyan'], + }) +} + +export const printVideoPath = (videoName?: string) => { + if (videoName !== undefined) { + console.log('') + + console.log(` - Video output: ${formatPath(videoName, undefined, 'cyan')}`) + + console.log('') + } +} diff --git a/system-tests/__snapshots__/async_timeouts_spec.js b/system-tests/__snapshots__/async_timeouts_spec.js index ca9a4d585a87..065cb8a00e87 100644 --- a/system-tests/__snapshots__/async_timeouts_spec.js +++ b/system-tests/__snapshots__/async_timeouts_spec.js @@ -61,6 +61,11 @@ exports['e2e async timeouts / failing1'] = ` cypress command (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/async_timeouts.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/base_url_spec.js b/system-tests/__snapshots__/base_url_spec.js index 0a3cbf23227a..ac85aa72b642 100644 --- a/system-tests/__snapshots__/base_url_spec.js +++ b/system-tests/__snapshots__/base_url_spec.js @@ -39,6 +39,11 @@ exports['e2e baseUrl / https / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/base_url.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -94,6 +99,11 @@ exports['e2e baseUrl / http / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/base_url.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/browser_crash_handling_spec.js b/system-tests/__snapshots__/browser_crash_handling_spec.js index 16222fb3a394..dedf8453b995 100644 --- a/system-tests/__snapshots__/browser_crash_handling_spec.js +++ b/system-tests/__snapshots__/browser_crash_handling_spec.js @@ -46,6 +46,11 @@ https://on.cypress.io/renderer-process-crashed └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/chrome_tab_crash.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple.cy.js (2 of 2) @@ -71,6 +76,11 @@ https://on.cypress.io/renderer-process-crashed └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -135,6 +145,11 @@ https://on.cypress.io/renderer-process-crashed └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/chrome_tab_crash.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple.cy.js (2 of 2) @@ -160,6 +175,11 @@ https://on.cypress.io/renderer-process-crashed └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -223,6 +243,11 @@ This can happen for many different reasons: └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/chrome_process_crash.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple.cy.js (2 of 2) @@ -248,6 +273,11 @@ This can happen for many different reasons: └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/busted_support_file_spec.js b/system-tests/__snapshots__/busted_support_file_spec.js index 1e3e69f84dec..a036362edfd9 100644 --- a/system-tests/__snapshots__/busted_support_file_spec.js +++ b/system-tests/__snapshots__/busted_support_file_spec.js @@ -62,6 +62,11 @@ Fix the error in your code and re-run your tests. └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/app.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/cache_spec.js b/system-tests/__snapshots__/cache_spec.js index b513c72c6b8c..b834277f91a3 100644 --- a/system-tests/__snapshots__/cache_spec.js +++ b/system-tests/__snapshots__/cache_spec.js @@ -42,6 +42,11 @@ exports['e2e cache passes 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/cache.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/caught_uncaught_hook_errors_spec.js b/system-tests/__snapshots__/caught_uncaught_hook_errors_spec.js index a3e4b49baba8..876d4b2bd71d 100644 --- a/system-tests/__snapshots__/caught_uncaught_hook_errors_spec.js +++ b/system-tests/__snapshots__/caught_uncaught_hook_errors_spec.js @@ -88,6 +88,11 @@ Because this error occurred during a \`before all\` hook we are skipping the rem before all hook (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/hook_caught_error_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -173,6 +178,11 @@ Because this error occurred during a \`before each\` hook we are skipping the re before each hook (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/hook_uncaught_error_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -249,6 +259,11 @@ Because this error occurred during a \`before each\` hook we are skipping all of efore each hook (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/hook_uncaught_root_error_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -335,6 +350,11 @@ Because this error occurred during a \`before each\` hook we are skipping the re before each hook (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/hook_uncaught_error_events_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/commands_outside_of_test_spec.js b/system-tests/__snapshots__/commands_outside_of_test_spec.js index d38023cbf775..3f4640f37ac0 100644 --- a/system-tests/__snapshots__/commands_outside_of_test_spec.js +++ b/system-tests/__snapshots__/commands_outside_of_test_spec.js @@ -35,6 +35,11 @@ exports['e2e commands outside of test / passes on passing assertions'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/assertions_passing_outside_of_test.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -110,6 +115,11 @@ We dynamically generated a new test to display this failure. aught error was detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/assertions_failing_outside_of_test.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -193,6 +203,11 @@ https://on.cypress.io/cannot-execute-commands-outside-test r was detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/commands_outside_of_test.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/component_testing_spec.ts.js b/system-tests/__snapshots__/component_testing_spec.ts.js index 0c80c0cbcd0a..b79c7e6f457b 100644 --- a/system-tests/__snapshots__/component_testing_spec.ts.js +++ b/system-tests/__snapshots__/component_testing_spec.ts.js @@ -41,6 +41,11 @@ exports['React major versions with Webpack executes all of the tests for React v └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (2 of 5) @@ -72,6 +77,11 @@ exports['React major versions with Webpack executes all of the tests for React v └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: UsingLegacyMount.cy.jsx (3 of 5) @@ -99,6 +109,11 @@ exports['React major versions with Webpack executes all of the tests for React v └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/UsingLegacyMount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (4 of 5) @@ -126,6 +141,11 @@ exports['React major versions with Webpack executes all of the tests for React v └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (5 of 5) @@ -156,6 +176,11 @@ exports['React major versions with Webpack executes all of the tests for React v └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) @@ -221,6 +246,11 @@ exports['React major versions with Webpack executes all of the tests for React v └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (2 of 5) @@ -252,6 +282,11 @@ exports['React major versions with Webpack executes all of the tests for React v └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: UsingLegacyMount.cy.jsx (3 of 5) @@ -279,6 +314,11 @@ exports['React major versions with Webpack executes all of the tests for React v └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/UsingLegacyMount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (4 of 5) @@ -306,6 +346,11 @@ exports['React major versions with Webpack executes all of the tests for React v └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (5 of 5) @@ -336,6 +381,11 @@ exports['React major versions with Webpack executes all of the tests for React v └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) @@ -400,6 +450,11 @@ exports['React major versions with Vite executes all of the tests for React v17 └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (2 of 5) @@ -431,6 +486,11 @@ exports['React major versions with Vite executes all of the tests for React v17 └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: UsingLegacyMount.cy.jsx (3 of 5) @@ -458,6 +518,11 @@ exports['React major versions with Vite executes all of the tests for React v17 └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/UsingLegacyMount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (4 of 5) @@ -485,6 +550,11 @@ exports['React major versions with Vite executes all of the tests for React v17 └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (5 of 5) @@ -515,6 +585,11 @@ exports['React major versions with Vite executes all of the tests for React v17 └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) @@ -579,6 +654,11 @@ exports['React major versions with Vite executes all of the tests for React v18 └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (2 of 5) @@ -610,6 +690,11 @@ exports['React major versions with Vite executes all of the tests for React v18 └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: UsingLegacyMount.cy.jsx (3 of 5) @@ -637,6 +722,11 @@ exports['React major versions with Vite executes all of the tests for React v18 └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/UsingLegacyMount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (4 of 5) @@ -664,6 +754,11 @@ exports['React major versions with Vite executes all of the tests for React v18 └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (5 of 5) @@ -694,6 +789,11 @@ exports['React major versions with Vite executes all of the tests for React v18 └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) @@ -792,6 +892,11 @@ exports['experimentalSingleTabRunMode / executes all specs in a single tab'] = ` n (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/1_fails.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: 2_foo.cy.js (2 of 4) @@ -819,6 +924,11 @@ exports['experimentalSingleTabRunMode / executes all specs in a single tab'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/2_foo.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: 3_retries.cy.js (3 of 4) @@ -847,6 +957,11 @@ exports['experimentalSingleTabRunMode / executes all specs in a single tab'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/3_retries.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: 999_final.cy.js (4 of 4) @@ -872,6 +987,11 @@ exports['experimentalSingleTabRunMode / executes all specs in a single tab'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/999_final.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/config_spec.js b/system-tests/__snapshots__/config_spec.js index 92df826942ea..cdfa98fc040f 100644 --- a/system-tests/__snapshots__/config_spec.js +++ b/system-tests/__snapshots__/config_spec.js @@ -45,6 +45,11 @@ exports['e2e config provides various environment details 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/config_passing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -114,6 +119,11 @@ exports['e2e config applies defaultCommandTimeout globally 1'] = ` -- times out looking for a missing element (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/dom_times_out.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -332,6 +342,11 @@ exports['e2e config setupNodeEvents modify specPattern for current testing type └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/a_record.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -430,6 +445,11 @@ exports['e2e config finds supportFiles in projects containing glob syntax 1'] = └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/app.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/controllers_spec.js b/system-tests/__snapshots__/controllers_spec.js index 24f4fae7830a..cdde209718df 100644 --- a/system-tests/__snapshots__/controllers_spec.js +++ b/system-tests/__snapshots__/controllers_spec.js @@ -46,6 +46,11 @@ Fix the error in your code and re-run your tests. └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/spec.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -99,6 +104,11 @@ exports['e2e plugins handles specs with $, &, and + in file name 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/s%p+ec&.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/cookies_spec.ts.js b/system-tests/__snapshots__/cookies_spec.ts.js index 21d8749b4e91..063b29d41c45 100644 --- a/system-tests/__snapshots__/cookies_spec.ts.js +++ b/system-tests/__snapshots__/cookies_spec.ts.js @@ -76,6 +76,11 @@ exports['e2e cookies with baseurl'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/cookies_spec_baseurl.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -135,6 +140,11 @@ exports['e2e cookies with no baseurl'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/cookies_spec_no_baseurl.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/cy_origin_retries_spec.ts.js b/system-tests/__snapshots__/cy_origin_retries_spec.ts.js index 8534fbfd4eed..b0083580f0ae 100644 --- a/system-tests/__snapshots__/cy_origin_retries_spec.ts.js +++ b/system-tests/__snapshots__/cy_origin_retries_spec.ts.js @@ -62,6 +62,11 @@ exports['e2e cy.origin retries / Appropriately displays test retry errors withou errors (failed) (attempt 3).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/cy_origin_retries.cy.ts.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/es_modules_spec.js b/system-tests/__snapshots__/es_modules_spec.js index fdadc20892d3..f09f49d532a5 100644 --- a/system-tests/__snapshots__/es_modules_spec.js +++ b/system-tests/__snapshots__/es_modules_spec.js @@ -41,6 +41,11 @@ exports['e2e es modules passes 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/es_modules_in_coffee_spec.coffee.mp4 + + ==================================================================================================== (Run Finished) @@ -112,6 +117,11 @@ Fix the error in your code and re-run your tests. └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/es_module_import_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/experimental_skip_domain_injection_spec.ts.js b/system-tests/__snapshots__/experimental_skip_domain_injection_spec.ts.js index e44294aa44d7..f0bc997809af 100644 --- a/system-tests/__snapshots__/experimental_skip_domain_injection_spec.ts.js +++ b/system-tests/__snapshots__/experimental_skip_domain_injection_spec.ts.js @@ -42,6 +42,11 @@ exports['e2e experimentalSkipDomainInjection=true / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/experimental_skip_domain_injection.cy.ts.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/form_submissions_spec.js b/system-tests/__snapshots__/form_submissions_spec.js index 969fc4e510fc..f1e5122df63a 100644 --- a/system-tests/__snapshots__/form_submissions_spec.js +++ b/system-tests/__snapshots__/form_submissions_spec.js @@ -46,6 +46,11 @@ exports['e2e forms /
submissions / passes with https on localhost'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/form_submission_multipart.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -108,6 +113,11 @@ exports['e2e forms / submissions / passes with http on localhost'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/form_submission_multipart.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -178,6 +188,11 @@ exports['e2e forms / submissions with jquery XHR POST / failing'] = ` led).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/form_submission_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -232,6 +247,11 @@ exports['e2e forms / submissions with jquery XHR POST / passing'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/form_submission_passing.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/go_spec.js b/system-tests/__snapshots__/go_spec.js index e62dad521fb7..7f319d6065c3 100644 --- a/system-tests/__snapshots__/go_spec.js +++ b/system-tests/__snapshots__/go_spec.js @@ -40,6 +40,11 @@ exports['e2e go / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/go.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/headless_spec.ts.js b/system-tests/__snapshots__/headless_spec.ts.js index ae74bd8a2a43..35a2ca7c03ac 100644 --- a/system-tests/__snapshots__/headless_spec.ts.js +++ b/system-tests/__snapshots__/headless_spec.ts.js @@ -98,6 +98,11 @@ exports['e2e headless / tests in headed mode pass in !electron'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/headless.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -155,6 +160,11 @@ exports['e2e headless / tests in headed mode pass in electron'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/headless.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/iframe_spec.js b/system-tests/__snapshots__/iframe_spec.js index d99da5927a36..a5c393ee6b1f 100644 --- a/system-tests/__snapshots__/iframe_spec.js +++ b/system-tests/__snapshots__/iframe_spec.js @@ -45,6 +45,11 @@ exports['e2e iframes / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/iframe.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/images_spec.js b/system-tests/__snapshots__/images_spec.js index 9b277016a216..f3dc4bceacf1 100644 --- a/system-tests/__snapshots__/images_spec.js +++ b/system-tests/__snapshots__/images_spec.js @@ -40,6 +40,11 @@ exports['e2e images / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/images.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/interception_spec.js b/system-tests/__snapshots__/interception_spec.js index 4fd0b263369d..10cab487dd26 100644 --- a/system-tests/__snapshots__/interception_spec.js +++ b/system-tests/__snapshots__/interception_spec.js @@ -58,6 +58,11 @@ exports['e2e interception spec character encodings does not mangle non-UTF-8 tex └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/character_encoding.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/issue_149_spec.js b/system-tests/__snapshots__/issue_149_spec.js index 1120690ba677..fc6495b94cf6 100644 --- a/system-tests/__snapshots__/issue_149_spec.js +++ b/system-tests/__snapshots__/issue_149_spec.js @@ -50,6 +50,11 @@ exports['e2e issue 149 failing 1'] = ` - /XXX/XXX/XXX/cypress/screenshots/issue_149.cy.js/fails (failed).png (1280x720) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/issue_149.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/issue_1669_spec.js b/system-tests/__snapshots__/issue_1669_spec.js index a1c315c8771a..9fc14035096f 100644 --- a/system-tests/__snapshots__/issue_1669_spec.js +++ b/system-tests/__snapshots__/issue_1669_spec.js @@ -56,6 +56,11 @@ Because this error occurred during a \`before each\` hook we are skipping the re h hook (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/issue_1669.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/issue_173_spec.ts.js b/system-tests/__snapshots__/issue_173_spec.ts.js index 50a6c9155e14..d6e544ded7dc 100644 --- a/system-tests/__snapshots__/issue_173_spec.ts.js +++ b/system-tests/__snapshots__/issue_173_spec.ts.js @@ -50,6 +50,11 @@ exports['e2e issue 173 / failing'] = ` - /XXX/XXX/XXX/cypress/screenshots/issue_173.cy.js/fails (failed).png (1280x720) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/issue_173.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/issue_2891_spec.js b/system-tests/__snapshots__/issue_2891_spec.js index 43c21fd14348..354d42a9d746 100644 --- a/system-tests/__snapshots__/issue_2891_spec.js +++ b/system-tests/__snapshots__/issue_2891_spec.js @@ -37,6 +37,11 @@ exports['e2e issue 2891 passes 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/default_layout.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/issue_5475_spec.js b/system-tests/__snapshots__/issue_5475_spec.js index df0aca4c4e2f..350c8a40007c 100644 --- a/system-tests/__snapshots__/issue_5475_spec.js +++ b/system-tests/__snapshots__/issue_5475_spec.js @@ -39,6 +39,11 @@ exports['e2e issue 5475 history pushState hangs / fails when remote debugging po └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/issue_5475_spec_1.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: issue_5475_spec_2.js (2 of 2) @@ -81,6 +86,11 @@ exports['e2e issue 5475 history pushState hangs / fails when remote debugging po xt spec after modifying history.pushState (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/issue_5475_spec_2.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/issue_6407_spec.js b/system-tests/__snapshots__/issue_6407_spec.js index 0538be595b47..55e4bc12c2f1 100644 --- a/system-tests/__snapshots__/issue_6407_spec.js +++ b/system-tests/__snapshots__/issue_6407_spec.js @@ -49,6 +49,11 @@ https://on.cypress.io/config └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/issue_6407_spec.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/issue_674_spec.js b/system-tests/__snapshots__/issue_674_spec.js index 20045accce25..facf759dfa95 100644 --- a/system-tests/__snapshots__/issue_674_spec.js +++ b/system-tests/__snapshots__/issue_674_spec.js @@ -61,6 +61,11 @@ exports['e2e issue 674 / fails'] = ` both beforeEach and afterEach fail -- after each hook (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/issue_674.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/network_error_handling_spec.js b/system-tests/__snapshots__/network_error_handling_spec.js index 2b82c0141ebe..5f6205d541a5 100644 --- a/system-tests/__snapshots__/network_error_handling_spec.js +++ b/system-tests/__snapshots__/network_error_handling_spec.js @@ -59,6 +59,11 @@ exports['e2e network error handling Cypress does not connect to the upstream pro └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/https_passthru.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -114,6 +119,11 @@ exports['e2e network error handling Cypress does not delay a 304 Not Modified in └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/network_error_304_handling.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -169,6 +179,11 @@ exports['e2e network error handling Cypress does not delay a 304 Not Modified be └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/network_error_304_handling.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -224,6 +239,11 @@ exports['e2e network error handling Cypress does not delay a 304 Not Modified be └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/network_error_304_handling.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -360,6 +380,11 @@ https://on.cypress.io/request ling -- cy.request() retries -- fails after retrying 5x (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/network_error_handling.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/new_project_spec.js b/system-tests/__snapshots__/new_project_spec.js index a12873ed06df..c61c00c33ff6 100644 --- a/system-tests/__snapshots__/new_project_spec.js +++ b/system-tests/__snapshots__/new_project_spec.js @@ -37,6 +37,11 @@ exports['e2e new project passes 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/app.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/only_spec.js b/system-tests/__snapshots__/only_spec.js index 170042eda632..3177f05f07d9 100644 --- a/system-tests/__snapshots__/only_spec.js +++ b/system-tests/__snapshots__/only_spec.js @@ -39,6 +39,11 @@ exports['e2e only spec failing 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/only.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: only_multiple.cy.js (2 of 2) @@ -68,6 +73,11 @@ exports['e2e only spec failing 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/only_multiple.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/page_loading_spec.js b/system-tests/__snapshots__/page_loading_spec.js index 0817c7b27f58..22d219c1f632 100644 --- a/system-tests/__snapshots__/page_loading_spec.js +++ b/system-tests/__snapshots__/page_loading_spec.js @@ -41,6 +41,11 @@ exports['e2e page_loading / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/page_loading.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/pause_headed_exit_spec.ts.js b/system-tests/__snapshots__/pause_headed_exit_spec.ts.js index b576a00e8995..917083ca787f 100644 --- a/system-tests/__snapshots__/pause_headed_exit_spec.ts.js +++ b/system-tests/__snapshots__/pause_headed_exit_spec.ts.js @@ -97,6 +97,11 @@ exports['cy.pause() in run mode / does not pause without --headed and --no-exit' └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/pause.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/plugins_spec.js b/system-tests/__snapshots__/plugins_spec.js index 37d180ce20c2..77d41f5e319e 100644 --- a/system-tests/__snapshots__/plugins_spec.js +++ b/system-tests/__snapshots__/plugins_spec.js @@ -57,6 +57,11 @@ exports['e2e plugins / works with user extensions'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/app.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -275,6 +280,11 @@ exports['e2e plugins calls after:screenshot for cy.screenshot() and failure scre - /XXX/XXX/XXX/cypress/screenshots/after_screenshot.cy.js/invalid-return.png (YxX) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/after_screenshot.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -335,6 +345,11 @@ exports['e2e plugins does not report more screenshots than exist if user overwri - /XXX/XXX/XXX/screenshot-replacement.png (2x2) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/after_screenshot_overwrite.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -501,6 +516,11 @@ exports['e2e plugins preprocessor passes with working preprocessor 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/app.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/promises_spec.js b/system-tests/__snapshots__/promises_spec.js index 55b4f0cedb43..0d3eb33f5cd8 100644 --- a/system-tests/__snapshots__/promises_spec.js +++ b/system-tests/__snapshots__/promises_spec.js @@ -57,6 +57,11 @@ exports['e2e promises / failing1'] = ` done with err even when async (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/promises.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/record_spec.js b/system-tests/__snapshots__/record_spec.js index b8af5699d8b9..b95fb0605f0c 100644 --- a/system-tests/__snapshots__/record_spec.js +++ b/system-tests/__snapshots__/record_spec.js @@ -172,6 +172,11 @@ plugin stdout - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -329,6 +334,11 @@ exports['e2e record api interaction errors update instance stdout warns but proc - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -450,6 +460,11 @@ exports['e2e record api interaction errors uploading assets warns but proceeds 1 - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Failed Uploading (*/2) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -538,6 +553,11 @@ This error will not affect or change the exit code. - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -674,6 +694,11 @@ exports['e2e record api interaction errors update instance 500 does not proceed - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) We encountered an unexpected error communicating with our servers. @@ -763,6 +788,11 @@ We will retry 3 more times in X second(s)... - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -841,6 +871,11 @@ This error will not affect or change the exit code. - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -963,6 +998,11 @@ https://on.cypress.io/dashboard/organizations/org-id-1234/billing - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -1043,6 +1083,11 @@ https://on.cypress.io/dashboard/organizations/org-id-1234/billing - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -1128,6 +1173,11 @@ Details: - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -1464,6 +1514,11 @@ https://on.cypress.io/dashboard/organizations/org-id-1234/billing - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -1546,6 +1601,11 @@ https://on.cypress.io/dashboard/organizations/org-id-1234/billing - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -1626,6 +1686,11 @@ https://on.cypress.io/dashboard/organizations/org-id-1234/billing - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -1706,6 +1771,11 @@ https://on.cypress.io/dashboard/organizations/org-id-1234/billing - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -1786,6 +1856,11 @@ https://on.cypress.io/dashboard/organizations/org-id-1234/billing - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -1980,6 +2055,11 @@ exports['e2e record api interaction errors postInstanceResults errors and exits - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) We encountered an unexpected error communicating with our servers. @@ -2187,6 +2267,11 @@ exports['e2e record empty specs succeeds when empty spec file 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/empty_suite.cy.js.mp4 + + (Uploading Results) - Nothing to Upload @@ -2216,6 +2301,11 @@ exports['e2e record empty specs succeeds when empty spec file 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/empty.cy.js.mp4 + + (Uploading Results) - Nothing to Upload @@ -2253,6 +2343,11 @@ exports['e2e record quiet mode respects quiet mode 1'] = ` 1 pending + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + ` exports['e2e record api interaction errors create run 412 errors and exits when request schema is invalid 1'] = ` @@ -2405,6 +2500,11 @@ plugin stdout - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png @@ -2690,6 +2790,11 @@ https://on.cypress.io/dashboard/organizations/org-id-1234/billing - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/record_pass.cy.js.mp4 + + (Uploading Results) - Done Uploading (1/1) /foo/bar/.projects/e2e/cypress/screenshots/record_pass.cy.js/yay it passes.png diff --git a/system-tests/__snapshots__/reporters_spec.js b/system-tests/__snapshots__/reporters_spec.js index 1102dbd67f9d..fd8b61c1811f 100644 --- a/system-tests/__snapshots__/reporters_spec.js +++ b/system-tests/__snapshots__/reporters_spec.js @@ -47,6 +47,11 @@ exports['e2e reporters supports junit reporter and reporter options 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_passing.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: simple_failing.cy.js (2 of 2) @@ -74,6 +79,11 @@ exports['e2e reporters supports junit reporter and reporter options 1'] = ` ls2 (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -125,6 +135,11 @@ finished! └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_passing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -186,6 +201,11 @@ exports['e2e reporters mochawesome passes with mochawesome-1.5.2 npm custom repo └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_passing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -293,6 +313,11 @@ Because this error occurred during a \`after all\` hook we are skipping the rema pec -- after hooks -- fails on this -- after all hook (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_failing_hook.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -352,6 +377,11 @@ exports['e2e reporters mochawesome passes with mochawesome-2.3.1 npm custom repo └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_passing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -457,6 +487,11 @@ Because this error occurred during a \`after all\` hook we are skipping the rema pec -- after hooks -- fails on this -- after all hook (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_failing_hook.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -516,6 +551,11 @@ exports['e2e reporters mochawesome passes with mochawesome-3.0.1 npm custom repo └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_passing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -621,6 +661,11 @@ Because this error occurred during a \`after all\` hook we are skipping the rema pec -- after hooks -- fails on this -- after all hook (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_failing_hook.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -688,6 +733,11 @@ exports['e2e reporters supports teamcity reporter and reporter options 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_passing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -750,6 +800,11 @@ exports['e2e reporters mochawesome pending with mochawesome-1.5.2 npm custom rep └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_pending.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -810,6 +865,11 @@ exports['e2e reporters mochawesome pending with mochawesome-2.3.1 npm custom rep └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_pending.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -870,6 +930,11 @@ exports['e2e reporters mochawesome pending with mochawesome-3.0.1 npm custom rep └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/simple_pending.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/request_spec.ts.js b/system-tests/__snapshots__/request_spec.ts.js index 421ec2828bb0..1795f28b6187 100644 --- a/system-tests/__snapshots__/request_spec.ts.js +++ b/system-tests/__snapshots__/request_spec.ts.js @@ -52,6 +52,11 @@ exports['e2e requests / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/request.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -150,6 +155,11 @@ https://on.cypress.io/request etwork connection cannot be established -- fails (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/request_http_network_error_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -262,6 +272,11 @@ https://on.cypress.io/request ode isnt 2xx or 3xx -- fails (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/request_status_code_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -382,6 +397,11 @@ https://on.cypress.io/request us code isnt 2xx or 3xx -- fails (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/request_long_http_props_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/retries_spec.ts.js b/system-tests/__snapshots__/retries_spec.ts.js index 6b825f157f78..23edb1cca568 100644 --- a/system-tests/__snapshots__/retries_spec.ts.js +++ b/system-tests/__snapshots__/retries_spec.ts.js @@ -46,6 +46,11 @@ exports['retries / supports retries'] = ` ).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/fail-twice.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -107,6 +112,11 @@ https://on.cypress.io/test-retries └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/main.spec.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/return_value_spec.js b/system-tests/__snapshots__/return_value_spec.js index cc7d95cd844e..fa7c256d22b4 100644 --- a/system-tests/__snapshots__/return_value_spec.js +++ b/system-tests/__snapshots__/return_value_spec.js @@ -96,6 +96,11 @@ Error: Resolution method is overspecified. Specify a callback *or* return a Prom mands, invoking done callback, and returning a promise (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/return_value.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/runnable_execution_spec.ts.js b/system-tests/__snapshots__/runnable_execution_spec.ts.js index 9017fab1eedb..fb5c098d3462 100644 --- a/system-tests/__snapshots__/runnable_execution_spec.ts.js +++ b/system-tests/__snapshots__/runnable_execution_spec.ts.js @@ -49,6 +49,11 @@ exports['e2e runnable execution / runnables run correct number of times with nav └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/runnable-run-count.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -184,6 +189,11 @@ exports['e2e runnable execution / can navigate in before hook and test'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/beforehook-and-test-navigation.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/screenshot_element_capture_spec.js b/system-tests/__snapshots__/screenshot_element_capture_spec.js index 96cece970b53..74e3dbf4f5df 100644 --- a/system-tests/__snapshots__/screenshot_element_capture_spec.js +++ b/system-tests/__snapshots__/screenshot_element_capture_spec.js @@ -63,6 +63,11 @@ exports['e2e screenshot element capture / passes'] = ` e (9).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/screenshot_element_capture.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/screenshot_fullpage_capture_spec.js b/system-tests/__snapshots__/screenshot_fullpage_capture_spec.js index 0ae6d7e89baf..18771b7a2acd 100644 --- a/system-tests/__snapshots__/screenshot_fullpage_capture_spec.js +++ b/system-tests/__snapshots__/screenshot_fullpage_capture_spec.js @@ -63,6 +63,11 @@ exports['e2e screenshot fullPage capture / passes'] = ` are (9).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/screenshot_fullpage_capture.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/screenshot_nested_file_spec.js b/system-tests/__snapshots__/screenshot_nested_file_spec.js index 2540c44e1730..7d8cd1c16bc8 100644 --- a/system-tests/__snapshots__/screenshot_nested_file_spec.js +++ b/system-tests/__snapshots__/screenshot_nested_file_spec.js @@ -43,6 +43,11 @@ exports['e2e screenshot in nested spec / passes'] = ` ed on spec path.png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/screenshot_nested_file.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/screenshot_viewport_capture_spec.js b/system-tests/__snapshots__/screenshot_viewport_capture_spec.js index d879949101b2..191cc93fdb08 100644 --- a/system-tests/__snapshots__/screenshot_viewport_capture_spec.js +++ b/system-tests/__snapshots__/screenshot_viewport_capture_spec.js @@ -96,6 +96,11 @@ exports['e2e screenshot viewport capture / passes'] = ` ks out absolute elements within a relative container.png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/screenshot_viewport_capture.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/screenshots_spec.js b/system-tests/__snapshots__/screenshots_spec.js index 176d659e63ca..b437d8a19825 100644 --- a/system-tests/__snapshots__/screenshots_spec.js +++ b/system-tests/__snapshots__/screenshots_spec.js @@ -170,6 +170,11 @@ Because this error occurred during a \`after each\` hook we are skipping the rem aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/screenshots.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/server_sent_events_spec.js b/system-tests/__snapshots__/server_sent_events_spec.js index d022322ea02d..c14598520834 100644 --- a/system-tests/__snapshots__/server_sent_events_spec.js +++ b/system-tests/__snapshots__/server_sent_events_spec.js @@ -40,6 +40,11 @@ exports['e2e server sent events / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/server_sent_events.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/specs_spec.js b/system-tests/__snapshots__/specs_spec.js index 819bb09d8dbd..5a07661b3a06 100644 --- a/system-tests/__snapshots__/specs_spec.js +++ b/system-tests/__snapshots__/specs_spec.js @@ -73,6 +73,11 @@ exports['e2e specs handles glob characters in the working directory and spec pat └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/app.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/stdout_spec.js b/system-tests/__snapshots__/stdout_spec.js index bed59c911e81..d1e6527ac79a 100644 --- a/system-tests/__snapshots__/stdout_spec.js +++ b/system-tests/__snapshots__/stdout_spec.js @@ -97,6 +97,11 @@ The internal Cypress web server responded with: sing hook -- is failing (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/stdout_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -167,6 +172,11 @@ Fix the error in your code and re-run your tests. └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/stdout_exit_early_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -233,6 +243,11 @@ exports['e2e stdout does not duplicate suites or tests between visits 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/stdout_passing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -289,6 +304,11 @@ exports['e2e stdout displays fullname of nested specfile 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/spec.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: stdout_specfile.cy.js (2 of 4) @@ -316,6 +336,11 @@ exports['e2e stdout displays fullname of nested specfile 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/stdout_specfile.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: stdout_specfile_display_spec_with_a_really_long_name_that_never_has_ (3 of 4) @@ -352,6 +377,11 @@ exports['e2e stdout displays fullname of nested specfile 1'] = ` -- passes.png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/stdout_specfile_display_spec_with_a_really_long_name_that_never_has_a_line_break_or_new_line.cy.js.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: nested-4/spec.cy.js (4 of 4) @@ -379,6 +409,11 @@ exports['e2e stdout displays fullname of nested specfile 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/nested-4/spec.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -492,6 +527,11 @@ exports['e2e stdout / displays assertion errors'] = ` -- fails with dom assertion without diff, with retries (failed) (1).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/stdout_assertion_errors.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -527,4 +567,9 @@ exports['e2e stdout respects quiet mode 1'] = ` 8 passing + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/stdout_passing.cy.js.mp4 + + ` diff --git a/system-tests/__snapshots__/system_node_spec.js b/system-tests/__snapshots__/system_node_spec.js index d199fc267fc4..bd1e51c18b85 100644 --- a/system-tests/__snapshots__/system_node_spec.js +++ b/system-tests/__snapshots__/system_node_spec.js @@ -44,6 +44,11 @@ Please remove the nodeVersion configuration option from cypress.config.js. └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/system.spec.js.mp4 + + ==================================================================================================== (Run Finished) @@ -105,6 +110,11 @@ As the nodeVersion configuration option will be removed in a future release, it └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/bundled.spec.js.mp4 + + ==================================================================================================== (Run Finished) @@ -159,6 +169,11 @@ exports['e2e system node uses default node when launching plugins file 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/default.spec.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/task_not_registered_spec.js b/system-tests/__snapshots__/task_not_registered_spec.js index 24fb52ee8f31..753b124202fe 100644 --- a/system-tests/__snapshots__/task_not_registered_spec.js +++ b/system-tests/__snapshots__/task_not_registered_spec.js @@ -57,6 +57,11 @@ https://on.cypress.io/api/task k event is not registered in setupNodeEvents method (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/task_not_registered.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/task_spec.js b/system-tests/__snapshots__/task_spec.js index dd334e2b09a5..e3fea4240f9f 100644 --- a/system-tests/__snapshots__/task_spec.js +++ b/system-tests/__snapshots__/task_spec.js @@ -42,6 +42,11 @@ Only the last attempt will be registered. └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/multiple_task_registrations.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -134,6 +139,11 @@ https://on.cypress.io/api/task d).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/task.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/testConfigOverrides_spec.ts.js b/system-tests/__snapshots__/testConfigOverrides_spec.ts.js index e785d438ebc4..9a1f6a5374c9 100644 --- a/system-tests/__snapshots__/testConfigOverrides_spec.ts.js +++ b/system-tests/__snapshots__/testConfigOverrides_spec.ts.js @@ -134,6 +134,11 @@ exports['testConfigOverrides / fails when setting invalid config opt with Cypres run 2 (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/invalid_before_test_event.js.mp4 + + ==================================================================================================== (Run Finished) @@ -210,6 +215,11 @@ exports['testConfigOverrides / fails when setting invalid config opt with Cypres es not run 2 (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/invalid_before_test_async_event.js.mp4 + + ==================================================================================================== (Run Finished) @@ -814,6 +824,11 @@ exports['testConfigOverrides / has originalTitle when skipped due to browser con └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/skip-browser.js.mp4 + + ==================================================================================================== (Run Finished) @@ -873,6 +888,11 @@ exports['testConfigOverrides / maintains runnable body when skipped due to brows └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/skip-browser.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/typescript_spec_support_spec.ts.js b/system-tests/__snapshots__/typescript_spec_support_spec.ts.js index 7b38dc4f8f1a..2004c386aae1 100644 --- a/system-tests/__snapshots__/typescript_spec_support_spec.ts.js +++ b/system-tests/__snapshots__/typescript_spec_support_spec.ts.js @@ -42,6 +42,11 @@ exports['e2e typescript in spec and support file spec passes 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/typescript_passing.cy.ts.mp4 + + ==================================================================================================== (Run Finished) @@ -114,6 +119,11 @@ Fix the error in your code and re-run your tests. └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/typescript_syntax_error.cy.ts.mp4 + + ==================================================================================================== (Run Finished) @@ -167,6 +177,11 @@ exports['e2e typescript in spec and support file project passes 1'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/app.cy.ts.mp4 + + ==================================================================================================== (Run Finished) @@ -221,6 +236,11 @@ exports['e2e typescript in spec and support file project wtih custom supportFile └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/app.cy.ts.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/uncaught_spec_errors_spec.js b/system-tests/__snapshots__/uncaught_spec_errors_spec.js index dfaa57ae492c..d87a1b010bc4 100644 --- a/system-tests/__snapshots__/uncaught_spec_errors_spec.js +++ b/system-tests/__snapshots__/uncaught_spec_errors_spec.js @@ -58,6 +58,11 @@ We dynamically generated a new test to display this failure. uncaught error was detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/uncaught_synchronous_before_tests_parsed.js.mp4 + + ==================================================================================================== (Run Finished) @@ -133,6 +138,11 @@ We dynamically generated a new test to display this failure. ght error was detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/uncaught_synchronous_during_hook.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -239,6 +249,11 @@ https://on.cypress.io/uncaught-exception-from-application ync app code error (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/uncaught_during_test.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -317,6 +332,11 @@ Because this error occurred during a \`before all\` hook we are skipping the rem -- before all hook (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/uncaught_during_hook.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -414,6 +434,11 @@ exports['e2e uncaught errors / failing5'] = ` (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/caught_async_sync_test.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/uncaught_support_file_spec.js b/system-tests/__snapshots__/uncaught_support_file_spec.js index 877ee18617f1..ff7ed374aa62 100644 --- a/system-tests/__snapshots__/uncaught_support_file_spec.js +++ b/system-tests/__snapshots__/uncaught_support_file_spec.js @@ -58,6 +58,11 @@ We dynamically generated a new test to display this failure. de of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/spec.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/user_agent_spec.js b/system-tests/__snapshots__/user_agent_spec.js index 634ae31e675c..27e2f5062371 100644 --- a/system-tests/__snapshots__/user_agent_spec.js +++ b/system-tests/__snapshots__/user_agent_spec.js @@ -40,6 +40,11 @@ exports['e2e user agent / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/user_agent.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/video_compression_spec.js b/system-tests/__snapshots__/video_compression_spec.js index 396793a5cf10..f91ff7ef411b 100644 --- a/system-tests/__snapshots__/video_compression_spec.js +++ b/system-tests/__snapshots__/video_compression_spec.js @@ -35,6 +35,11 @@ exports['video compression 0 / does not compress'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/video_compression.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/viewport_spec.js b/system-tests/__snapshots__/viewport_spec.js index 52d5156c12d3..42da882018cf 100644 --- a/system-tests/__snapshots__/viewport_spec.js +++ b/system-tests/__snapshots__/viewport_spec.js @@ -41,6 +41,11 @@ exports['e2e viewport / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/viewport.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/visit_spec.js b/system-tests/__snapshots__/visit_spec.js index acef7e4f476f..771af9e419a5 100644 --- a/system-tests/__snapshots__/visit_spec.js +++ b/system-tests/__snapshots__/visit_spec.js @@ -61,6 +61,11 @@ exports['e2e visit / low response timeout / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/visit.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -140,6 +145,11 @@ If you do not want status codes to cause failures pass the option: \`failOnStatu er response is 500 -- fails (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/visit_http_500_response_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -222,6 +232,11 @@ However, you can likely use \`cy.request()\` instead of \`cy.visit()\`. content type is plaintext -- fails (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/visit_non_html_content_type_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -316,6 +331,11 @@ When this \`load\` event occurs, Cypress will continue running commands. es out -- fails timeout exceeds timeout option (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/visit_http_timeout_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -458,6 +478,11 @@ Common situations why this would fail: (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/visit_response_never_ends_failing.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -514,6 +539,11 @@ exports['e2e visit / low response timeout / calls onBeforeLoad when overwriting └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/issue_2196.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -597,6 +627,11 @@ exports['e2e visit / low response timeout / passes with experimentalSourceRewrit └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/source_rewriting.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/vite_dev_server_fresh_spec.ts.js b/system-tests/__snapshots__/vite_dev_server_fresh_spec.ts.js index b0e1bfbe14f3..ccd18860082b 100644 --- a/system-tests/__snapshots__/vite_dev_server_fresh_spec.ts.js +++ b/system-tests/__snapshots__/vite_dev_server_fresh_spec.ts.js @@ -39,6 +39,11 @@ exports['@cypress/vite-dev-server react executes all of the tests for vite4.0.4- └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: AppCompilationError.cy.jsx (2 of 8) @@ -85,6 +90,11 @@ We dynamically generated a new test to display this failure. s detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/AppCompilationError.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Errors.cy.jsx (3 of 8) @@ -173,6 +183,11 @@ https://on.cypress.io/uncaught-exception-from-application ).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Errors.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReact.cy.jsx (4 of 8) @@ -219,6 +234,11 @@ https://on.cypress.io/uncaught-exception-from-application ng + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReact.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReactInSpec.cy.jsx (5 of 8) @@ -257,6 +277,11 @@ https://on.cypress.io/uncaught-exception-from-application his file (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReactInSpec.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (6 of 8) @@ -284,6 +309,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (7 of 8) @@ -315,6 +345,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (8 of 8) @@ -345,6 +380,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) @@ -414,6 +454,11 @@ exports['@cypress/vite-dev-server react executes all of the tests for vite2.8.6- └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: AppCompilationError.cy.jsx (2 of 8) @@ -460,6 +505,11 @@ We dynamically generated a new test to display this failure. s detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/AppCompilationError.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Errors.cy.jsx (3 of 8) @@ -548,6 +598,11 @@ https://on.cypress.io/uncaught-exception-from-application ).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Errors.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReact.cy.jsx (4 of 8) @@ -594,6 +649,11 @@ https://on.cypress.io/uncaught-exception-from-application ng + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReact.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReactInSpec.cy.jsx (5 of 8) @@ -632,6 +692,11 @@ https://on.cypress.io/uncaught-exception-from-application his file (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReactInSpec.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (6 of 8) @@ -659,6 +724,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (7 of 8) @@ -690,6 +760,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (8 of 8) @@ -720,6 +795,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) @@ -789,6 +869,11 @@ exports['@cypress/vite-dev-server react executes all of the tests for vite2.9.1- └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: AppCompilationError.cy.jsx (2 of 8) @@ -835,6 +920,11 @@ We dynamically generated a new test to display this failure. s detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/AppCompilationError.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Errors.cy.jsx (3 of 8) @@ -923,6 +1013,11 @@ https://on.cypress.io/uncaught-exception-from-application ).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Errors.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReact.cy.jsx (4 of 8) @@ -969,6 +1064,11 @@ https://on.cypress.io/uncaught-exception-from-application ng + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReact.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReactInSpec.cy.jsx (5 of 8) @@ -1007,6 +1107,11 @@ https://on.cypress.io/uncaught-exception-from-application his file (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReactInSpec.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (6 of 8) @@ -1034,6 +1139,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (7 of 8) @@ -1065,6 +1175,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (8 of 8) @@ -1095,6 +1210,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) @@ -1164,6 +1284,11 @@ exports['@cypress/vite-dev-server react executes all of the tests for vite3.0.2- └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: AppCompilationError.cy.jsx (2 of 8) @@ -1210,6 +1335,11 @@ We dynamically generated a new test to display this failure. s detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/AppCompilationError.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Errors.cy.jsx (3 of 8) @@ -1298,6 +1428,11 @@ https://on.cypress.io/uncaught-exception-from-application ).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Errors.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReact.cy.jsx (4 of 8) @@ -1344,6 +1479,11 @@ https://on.cypress.io/uncaught-exception-from-application ng + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReact.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReactInSpec.cy.jsx (5 of 8) @@ -1382,6 +1522,11 @@ https://on.cypress.io/uncaught-exception-from-application his file (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReactInSpec.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (6 of 8) @@ -1409,6 +1554,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (7 of 8) @@ -1440,6 +1590,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (8 of 8) @@ -1470,6 +1625,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/web_security_spec.js b/system-tests/__snapshots__/web_security_spec.js index d5eefcf275b1..4838d83ca8e6 100644 --- a/system-tests/__snapshots__/web_security_spec.js +++ b/system-tests/__snapshots__/web_security_spec.js @@ -93,6 +93,11 @@ exports['e2e web security / when enabled / fails'] = ` oing a CORS request cross-origin (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/web_security.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -152,6 +157,11 @@ exports['e2e web security / when disabled / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/web_security.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/webpack_dev_server_fresh_spec.ts.js b/system-tests/__snapshots__/webpack_dev_server_fresh_spec.ts.js index cf59d8827468..6c583fe644ed 100644 --- a/system-tests/__snapshots__/webpack_dev_server_fresh_spec.ts.js +++ b/system-tests/__snapshots__/webpack_dev_server_fresh_spec.ts.js @@ -42,6 +42,11 @@ exports['@cypress/webpack-dev-server react executes all of the tests for webpack └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: AppCompilationError.cy.jsx (2 of 8) @@ -96,6 +101,11 @@ We dynamically generated a new test to display this failure. s detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/AppCompilationError.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Errors.cy.jsx (3 of 8) @@ -184,6 +194,11 @@ https://on.cypress.io/uncaught-exception-from-application ).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Errors.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReact.cy.jsx (4 of 8) @@ -230,6 +245,11 @@ https://on.cypress.io/uncaught-exception-from-application ng + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReact.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReactInSpec.cy.jsx (5 of 8) @@ -268,6 +288,11 @@ https://on.cypress.io/uncaught-exception-from-application his file (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReactInSpec.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (6 of 8) @@ -295,6 +320,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (7 of 8) @@ -326,6 +356,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (8 of 8) @@ -356,6 +391,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) @@ -437,6 +477,11 @@ SyntaxError: /foo/bar/.projects/webpack4_wds4-react/src/AppCompilationError.cy.j └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: AppCompilationError.cy.jsx (2 of 8) @@ -491,6 +536,11 @@ We dynamically generated a new test to display this failure. s detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/AppCompilationError.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Errors.cy.jsx (3 of 8) @@ -579,6 +629,11 @@ https://on.cypress.io/uncaught-exception-from-application ).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Errors.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReact.cy.jsx (4 of 8) @@ -625,6 +680,11 @@ https://on.cypress.io/uncaught-exception-from-application ng + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReact.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReactInSpec.cy.jsx (5 of 8) @@ -663,6 +723,11 @@ https://on.cypress.io/uncaught-exception-from-application his file (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReactInSpec.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (6 of 8) @@ -690,6 +755,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (7 of 8) @@ -721,6 +791,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (8 of 8) @@ -751,6 +826,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) @@ -823,6 +903,11 @@ exports['@cypress/webpack-dev-server react executes all of the tests for webpack └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: AppCompilationError.cy.jsx (2 of 8) @@ -877,6 +962,11 @@ We dynamically generated a new test to display this failure. s detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/AppCompilationError.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Errors.cy.jsx (3 of 8) @@ -965,6 +1055,11 @@ https://on.cypress.io/uncaught-exception-from-application ).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Errors.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReact.cy.jsx (4 of 8) @@ -1011,6 +1106,11 @@ https://on.cypress.io/uncaught-exception-from-application ng + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReact.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReactInSpec.cy.jsx (5 of 8) @@ -1049,6 +1149,11 @@ https://on.cypress.io/uncaught-exception-from-application his file (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReactInSpec.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (6 of 8) @@ -1076,6 +1181,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (7 of 8) @@ -1107,6 +1217,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (8 of 8) @@ -1137,6 +1252,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) @@ -1221,6 +1341,11 @@ webpack x.x.x compiled with x errors in xxx ms └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/App.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: AppCompilationError.cy.jsx (2 of 8) @@ -1275,6 +1400,11 @@ We dynamically generated a new test to display this failure. s detected outside of a test (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/AppCompilationError.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Errors.cy.jsx (3 of 8) @@ -1363,6 +1493,11 @@ https://on.cypress.io/uncaught-exception-from-application ).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Errors.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReact.cy.jsx (4 of 8) @@ -1409,6 +1544,11 @@ https://on.cypress.io/uncaught-exception-from-application ng + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReact.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: MissingReactInSpec.cy.jsx (5 of 8) @@ -1447,6 +1587,11 @@ https://on.cypress.io/uncaught-exception-from-application his file (failed).png + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/MissingReactInSpec.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Rerendering.cy.jsx (6 of 8) @@ -1474,6 +1619,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Rerendering.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: Unmount.cy.jsx (7 of 8) @@ -1505,6 +1655,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/Unmount.cy.jsx.mp4 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: mount.cy.jsx (8 of 8) @@ -1535,6 +1690,11 @@ https://on.cypress.io/uncaught-exception-from-application └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/mount.cy.jsx.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/websockets_spec.js b/system-tests/__snapshots__/websockets_spec.js index 15d723f9bbaf..217cbb409ced 100644 --- a/system-tests/__snapshots__/websockets_spec.js +++ b/system-tests/__snapshots__/websockets_spec.js @@ -39,6 +39,11 @@ exports['e2e websockets / passes'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/websockets.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/__snapshots__/xhr_spec.js b/system-tests/__snapshots__/xhr_spec.js index defe184f0ddd..f962fda71cbe 100644 --- a/system-tests/__snapshots__/xhr_spec.js +++ b/system-tests/__snapshots__/xhr_spec.js @@ -49,6 +49,11 @@ exports['e2e xhr / passes in global mode'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/xhr.cy.js.mp4 + + ==================================================================================================== (Run Finished) @@ -114,6 +119,11 @@ exports['e2e xhr / passes through CLI'] = ` └────────────────────────────────────────────────────────────────────────────────────────────────┘ + (Video) + + - Video output: /XXX/XXX/XXX/cypress/videos/xhr.cy.js.mp4 + + ==================================================================================================== (Run Finished) diff --git a/system-tests/lib/system-tests.ts b/system-tests/lib/system-tests.ts index af869c0d5b1d..468295640e00 100644 --- a/system-tests/lib/system-tests.ts +++ b/system-tests/lib/system-tests.ts @@ -306,6 +306,7 @@ Bluebird.config({ // extract the 'Difference' section from a snap-shot-it error message const diffRe = /Difference\n-{10}\n([\s\S]*)\n-{19}\nSaved snapshot text/m +const videoRe = /\-\s\sVideo\soutput:\s\/XXX\/XXX\/XXX\/cypress\/videos\/.*\.cy\.[tj]s\.mp4/gm const expectedAddedVideoSnapshotLines = [ 'Warning: We failed capturing this video.', 'This error will not affect or change the exit code.', @@ -342,6 +343,14 @@ const isVideoSnapshotError = (err: Error) => { _.pull(added, sometimesAddedVideoSnapshotLine, sometimesAddedSpacingLine) _.pull(deleted, sometimesDeletedVideoSnapshotLine, sometimesAddedSpacingLine) + // If a video line exists after removing other static matches, remove it + const deletedVideoLine = _.remove(deleted, (remainingDeleted) => !!videoRe.exec(remainingDeleted)) + + // If we did indeed remove a video line, also remove the (Video) text that preceded it + if (deletedVideoLine) { + _.pull(deleted, '(Video)') + } + return _.isEqual(added, expectedAddedVideoSnapshotLines) && (deleted.length === 0 || _.isEqual(deleted, expectedDeletedVideoSnapshotLines)) }