Skip to content

Commit

Permalink
chore: adds settings page to visual testing
Browse files Browse the repository at this point in the history
  • Loading branch information
marabesi committed Sep 9, 2023
1 parent 0c62fc5 commit 5f186c6
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
7 changes: 0 additions & 7 deletions cypress/regression/image.spec.js

This file was deleted.

14 changes: 14 additions & 0 deletions cypress/regression/pages.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
describe('visual testing regression', () => {

it('should display the index page', () => {
cy.visit('/');
cy.wait(3000);
cy.compareSnapshot('index', 0);
});

it('should display the settings page', () => {
cy.visit('/#/settings');
cy.wait(3000);
cy.compareSnapshot('settings', 0);
});
});

0 comments on commit 5f186c6

Please sign in to comment.