Skip to content

Commit 1d7f8bc

Browse files
authored
Merge pull request #6230 from nextcloud/renovate/stable30-cypress-visual-regression-5.x
chore(deps): update dependency cypress-visual-regression to ^5.2.1 (stable30)
2 parents 199215d + 6705cda commit 1d7f8bc

File tree

6 files changed

+142
-448
lines changed

6 files changed

+142
-448
lines changed

cypress.config.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import { defineConfig } from 'cypress'
77
import cypressSplit from 'cypress-split'
8-
import { configureVisualRegression } from 'cypress-visual-regression/dist/plugin.js'
8+
import { configureVisualRegression } from 'cypress-visual-regression/dist/plugin'
99
import vitePreprocessor from 'cypress-vite'
1010
import { nodePolyfills } from 'vite-plugin-node-polyfills'
1111
import vue from '@vitejs/plugin-vue2'
@@ -19,8 +19,6 @@ export default defineConfig({
1919
env: {
2020
failSilently: false,
2121
type: 'actual',
22-
SNAPSHOT_BASE_DIRECTORY: './cypress/snapshots/base',
23-
SNAPSHOT_DIFF_DIRECTORY: './cypress/snapshots/diff',
2422
},
2523
e2e: {
2624
env: {

cypress/snapshots/base/print.spec.js/print view in single-file share.png renamed to cypress/snapshots/base/cypress/e2e/print.spec.js/print view in single-file share.png

File renamed without changes.

cypress/snapshots/base/print.spec.js/print view in viewer.png renamed to cypress/snapshots/base/cypress/e2e/print.spec.js/print view in viewer.png

File renamed without changes.

cypress/support/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import axios from '@nextcloud/axios'
77
import { emit } from '@nextcloud/event-bus'
88
import { addCommands } from '@nextcloud/cypress'
9-
import { addCompareSnapshotCommand } from 'cypress-visual-regression/dist/command.js'
9+
import { addCompareSnapshotCommand } from 'cypress-visual-regression/dist/command'
1010

1111
// eslint-disable-next-line no-unused-vars,n/no-extraneous-import
1212
import regeneratorRuntime from 'regenerator-runtime'

0 commit comments

Comments
 (0)