From ea075e7e50a31f35de8b60227b88f77e049654c3 Mon Sep 17 00:00:00 2001 From: Ryan Manuel Date: Thu, 23 Feb 2023 16:52:52 -0600 Subject: [PATCH] fix tests --- guides/error-handling.md | 2 +- system-tests/__snapshots__/record_spec.js | 2 +- system-tests/__snapshots__/web_security_spec.js | 2 +- system-tests/lib/system-tests.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/guides/error-handling.md b/guides/error-handling.md index 3035e33c3259..4ae4daf3d021 100644 --- a/guides/error-handling.md +++ b/guides/error-handling.md @@ -68,7 +68,7 @@ CANNOT_TRASH_ASSETS: (arg1: string) => { return errTemplate`\ Warning: We failed to trash the existing run results. - This error will not alter the exit code. + This error will not affect or change the exit code. ${details(arg1)}` }, diff --git a/system-tests/__snapshots__/record_spec.js b/system-tests/__snapshots__/record_spec.js index 235a37fa3590..147ec4847f60 100644 --- a/system-tests/__snapshots__/record_spec.js +++ b/system-tests/__snapshots__/record_spec.js @@ -1133,7 +1133,7 @@ Details: (Screenshots) - + - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) (Uploading Results) diff --git a/system-tests/__snapshots__/web_security_spec.js b/system-tests/__snapshots__/web_security_spec.js index 80b65be410f2..4aacbbcd74f9 100644 --- a/system-tests/__snapshots__/web_security_spec.js +++ b/system-tests/__snapshots__/web_security_spec.js @@ -213,7 +213,7 @@ This option will not have an effect in Firefox. Tests that rely on web security Warning: We failed processing this video. -This error will not alter the exit code. +This error will not affect or change the exit code. TimeoutError: operation timed out [stack trace lines] diff --git a/system-tests/lib/system-tests.ts b/system-tests/lib/system-tests.ts index fa5ae7162b34..ada6c36d09d6 100644 --- a/system-tests/lib/system-tests.ts +++ b/system-tests/lib/system-tests.ts @@ -308,7 +308,7 @@ Bluebird.config({ const diffRe = /Difference\n-{10}\n([\s\S]*)\n-{19}\nSaved snapshot text/m const expectedAddedVideoSnapshotLines = [ 'Warning: We failed processing this video.', - 'This error will not alter the exit code.', + 'This error will not affect or change the exit code.', 'TimeoutError: operation timed out', '[stack trace lines]', ]