Skip to content

Commit

Permalink
chore(e2e): disable snapshot comparison of changelog
Browse files Browse the repository at this point in the history
(cherry picked from commit d6b2502)
  • Loading branch information
slowbackspace authored and tsusanka committed Feb 17, 2021
1 parent 73eef3b commit 9cf47b5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('Firmware', () => {
cy.getTestElement('@notification/update-firmware/button').click();

// initial screen
cy.getTestElement('@firmware').matchImageSnapshot('initial');
// cy.getTestElement('@firmware').matchImageSnapshot('initial'); there is a changelog which should be covered with black rectangle (there is a command for it somewheree)
cy.getTestElement('@firmware/continue-button').click();

// check seed screen
Expand Down Expand Up @@ -46,7 +46,7 @@ describe('Firmware', () => {
cy.prefixedVisit('/settings/device');
cy.passThroughInitialRun();
cy.getTestElement('@settings/device/update-button')
.should('contain.text', 'Up to date')
.should('contain.text', 'Up to date') // TODO: don't depend on actual text on the button, instead each button should have different data-test attr
.click();
cy.getTestElement('@modal/close-button').click();
});
Expand Down

0 comments on commit 9cf47b5

Please sign in to comment.