Skip to content

Commit

Permalink
#2490: fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-may committed Jul 10, 2024
1 parent 7a8bea4 commit de3794e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand All @@ -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
})
})

})
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit de3794e

Please sign in to comment.