mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-27 11:29:27 -06:00
chore(tests): [internal] fix flake e2e screenshot spec (firefox) (#8424)
This commit is contained in:
@@ -99,8 +99,8 @@ describe('e2e screenshots', () => {
|
||||
// make sure all of the values are unique
|
||||
expect(sizes).to.deep.eq(_.uniq(sizes))
|
||||
|
||||
// png1 should not be within 5k of png2
|
||||
expect(sizes[0]).not.to.be.closeTo(sizes[1], 5000)
|
||||
// png1 should not be within 3k of png2
|
||||
expect(sizes[0]).not.to.be.closeTo(sizes[1], 3000)
|
||||
}).then(() => {
|
||||
return Promise.all([
|
||||
sizeOf(screenshot1),
|
||||
|
||||
Reference in New Issue
Block a user