Skip to content

Commit

Permalink
chore(tests): Remove flaky assertion that relies on png how compressi…
Browse files Browse the repository at this point in the history
…on (#18668)
  • Loading branch information
Blue F committed Oct 28, 2021
1 parent 6d6623c commit fe4ede0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions system-tests/test/screenshots_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ describe('e2e screenshots', () => {
.then((sizes) => {
// make sure all of the values are unique
expect(sizes).to.deep.eq(_.uniq(sizes))

// png1 should not be within 1k of png2
expect(sizes[0]).not.to.be.closeTo(sizes[1], 1000)
}).then(() => {
return Promise.all([
sizeOf(screenshot1),
Expand Down

4 comments on commit fe4ede0

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on fe4ede0 Oct 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/8.7.1/circle-develop-fe4ede0315949be8a3b70a6a648118f8c30abf0e/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on fe4ede0 Oct 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 ia32 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/8.7.1/appveyor-develop-fe4ede0315949be8a3b70a6a648118f8c30abf0e/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on fe4ede0 Oct 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/8.7.1/appveyor-develop-fe4ede0315949be8a3b70a6a648118f8c30abf0e/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on fe4ede0 Oct 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/8.7.1/circle-develop-fe4ede0315949be8a3b70a6a648118f8c30abf0e/cypress.tgz

Please sign in to comment.