diff --git a/e2e-tests/cypress/e2e/client-display/client-display-theme-components_spec.js b/e2e-tests/cypress/e2e/client-display/client-display-theme-components_spec.js index 912d079362..2addde3240 100644 --- a/e2e-tests/cypress/e2e/client-display/client-display-theme-components_spec.js +++ b/e2e-tests/cypress/e2e/client-display/client-display-theme-components_spec.js @@ -438,7 +438,10 @@ describe('Client Display Theme Components Tests', () => { cy.wrapIframe().find('[data-cy="pointHistoryChartWithData"]') cy.wrapIframe().find('[data-cy="subjectTileBtn"]').should('have.length', 1) cy.wrapIframe().find('[data-cy="myRankPosition"]') - cy.matchSnapshotImageForElement('body iframe') + cy.wait(4000) + cy.matchSnapshotImageForElement('body iframe', { + errorThreshold: 0.05 + }) }) it('maxWidth setting - 900px', () => { @@ -448,7 +451,10 @@ describe('Client Display Theme Components Tests', () => { cy.wrapIframe().find('[data-cy="pointHistoryChartWithData"]') cy.wrapIframe().find('[data-cy="subjectTileBtn"]').should('have.length', 1) cy.wrapIframe().find('[data-cy="myRankPosition"]') - cy.matchSnapshotImageForElement('body iframe') + cy.wait(4000) + cy.matchSnapshotImageForElement('body iframe', { + errorThreshold: 0.05 + }) }) }) diff --git a/e2e-tests/cypress/visualRegression/base/client-display-theme-components_spec.js/maxWidth setting - 75%.png b/e2e-tests/cypress/visualRegression/base/client-display-theme-components_spec.js/maxWidth setting - 75%.png index 7e33c0bc19..50377e5d64 100644 Binary files a/e2e-tests/cypress/visualRegression/base/client-display-theme-components_spec.js/maxWidth setting - 75%.png and b/e2e-tests/cypress/visualRegression/base/client-display-theme-components_spec.js/maxWidth setting - 75%.png differ diff --git a/e2e-tests/cypress/visualRegression/base/client-display-theme-components_spec.js/maxWidth setting - 900px.png b/e2e-tests/cypress/visualRegression/base/client-display-theme-components_spec.js/maxWidth setting - 900px.png index 370fa88bec..37dd7a158d 100644 Binary files a/e2e-tests/cypress/visualRegression/base/client-display-theme-components_spec.js/maxWidth setting - 900px.png and b/e2e-tests/cypress/visualRegression/base/client-display-theme-components_spec.js/maxWidth setting - 900px.png differ