Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
reebalazs committed May 15, 2024
1 parent 0deabb4 commit 384cfe8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const { defineConfig } = require('cypress');
const {
initPlugin: initVisualRegressionPlugin,
} = require('@frsource/cypress-plugin-visual-regression-diff/dist/plugins');

module.exports = defineConfig({
viewportWidth: 1280,
Expand All @@ -9,6 +12,9 @@ module.exports = defineConfig({
runMode: 2,
},
setupNodeEvents(on, config) {
// visual regression testing must be initialized
// when the plugin is installed
initVisualRegressionPlugin(on, config);
on('task', {
table(message) {
console.table(message);
Expand Down

0 comments on commit 384cfe8

Please sign in to comment.