From 6c77538a52c440eeb58b08cf350c120a59ce5df4 Mon Sep 17 00:00:00 2001 From: Jonas Date: Sat, 14 Sep 2024 18:03:43 +0200 Subject: [PATCH] test(ci): Fix path of visual regression base files The default path changed with cypress-visual-regression 5.0.2. See https://github.com/cypress-visual-regression/cypress-visual-regression/issues/247 for details. Signed-off-by: Jonas --- cypress.config.js | 2 -- .../print view in single-file share.png | Bin .../e2e}/print.spec.js/print view in viewer.png | Bin 3 files changed, 2 deletions(-) rename cypress/snapshots/base/{ => cypress/e2e}/print.spec.js/print view in single-file share.png (100%) rename cypress/snapshots/base/{ => cypress/e2e}/print.spec.js/print view in viewer.png (100%) diff --git a/cypress.config.js b/cypress.config.js index 0f40541ad..77fe0b4cf 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -11,8 +11,6 @@ module.exports = defineConfig({ env: { failSilently: false, type: 'actual', - SNAPSHOT_BASE_DIRECTORY: './cypress/snapshots/base', - SNAPSHOT_DIFF_DIRECTORY: './cypress/snapshots/diff', }, e2e: { env: { diff --git a/cypress/snapshots/base/print.spec.js/print view in single-file share.png b/cypress/snapshots/base/cypress/e2e/print.spec.js/print view in single-file share.png similarity index 100% rename from cypress/snapshots/base/print.spec.js/print view in single-file share.png rename to cypress/snapshots/base/cypress/e2e/print.spec.js/print view in single-file share.png diff --git a/cypress/snapshots/base/print.spec.js/print view in viewer.png b/cypress/snapshots/base/cypress/e2e/print.spec.js/print view in viewer.png similarity index 100% rename from cypress/snapshots/base/print.spec.js/print view in viewer.png rename to cypress/snapshots/base/cypress/e2e/print.spec.js/print view in viewer.png