Skip to content

Commit

Permalink
Merge pull request #6230 from nextcloud/renovate/stable30-cypress-vis…
Browse files Browse the repository at this point in the history
…ual-regression-5.x

chore(deps): update dependency cypress-visual-regression to ^5.2.1 (stable30)
  • Loading branch information
mejo- authored Sep 14, 2024
2 parents 199215d + 6705cda commit 1d7f8bc
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 448 deletions.
4 changes: 1 addition & 3 deletions cypress.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import { defineConfig } from 'cypress'
import cypressSplit from 'cypress-split'
import { configureVisualRegression } from 'cypress-visual-regression/dist/plugin.js'
import { configureVisualRegression } from 'cypress-visual-regression/dist/plugin'
import vitePreprocessor from 'cypress-vite'
import { nodePolyfills } from 'vite-plugin-node-polyfills'
import vue from '@vitejs/plugin-vue2'
Expand All @@ -19,8 +19,6 @@ export default defineConfig({
env: {
failSilently: false,
type: 'actual',
SNAPSHOT_BASE_DIRECTORY: './cypress/snapshots/base',
SNAPSHOT_DIFF_DIRECTORY: './cypress/snapshots/diff',
},
e2e: {
env: {
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import axios from '@nextcloud/axios'
import { emit } from '@nextcloud/event-bus'
import { addCommands } from '@nextcloud/cypress'
import { addCompareSnapshotCommand } from 'cypress-visual-regression/dist/command.js'
import { addCompareSnapshotCommand } from 'cypress-visual-regression/dist/command'

// eslint-disable-next-line no-unused-vars,n/no-extraneous-import
import regeneratorRuntime from 'regenerator-runtime'
Expand Down
Loading

0 comments on commit 1d7f8bc

Please sign in to comment.