Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mschile committed Dec 5, 2024
1 parent 68af3cb commit b617bf5
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions system-tests/projects/screen-size/cypress/e2e/default_size.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,25 @@ describe('windowSize', () => {
expect({
innerWidth: top.window.innerWidth,
innerHeight: top.window.innerHeight,
// screenWidth: top.screen.width,
// screenHeight: top.screen.height,
// availWidth: top.screen.availWidth,
// availHeight: top.screen.availHeight,
}).deep.eq({
innerWidth: 1280,
innerHeight: 581, // chrome 128 decreased the size here from 633 to 581
// screenWidth: 1280,
// screenHeight: 603,
// availWidth: 1280,
// availHeight: 603,
})
} else if (Cypress.browser.name === 'firefox') {
expect({
innerWidth: top.window.innerWidth,
innerHeight: top.window.innerHeight,
}).deep.eq({
innerWidth: 1280,
innerHeight: 677, // firefox 133 decreased the size here from 720 to 677
})
} else {
expect({
innerWidth: top.window.innerWidth,
innerHeight: top.window.innerHeight,
// screenWidth: top.screen.width,
// screenHeight: top.screen.height,
// availWidth: top.screen.availWidth,
// availHeight: top.screen.availHeight,
}).deep.eq({
innerWidth: 1280,
innerHeight: 720,
// screenWidth: 1280,
// screenHeight: 720,
// availWidth: 1280,
// availHeight: 720,
})
}
})
Expand Down

2 comments on commit b617bf5

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b617bf5 Dec 5, 2024

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 build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/14.0.0/linux-x64/ryanm/chore/electron-33-upgrade-b617bf546e138152577b39ac5fc0ae9582be0bfd/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b617bf5 Dec 5, 2024

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 arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/14.0.0/linux-arm64/ryanm/chore/electron-33-upgrade-b617bf546e138152577b39ac5fc0ae9582be0bfd/cypress.tgz

Please sign in to comment.