Skip to content

Commit

Permalink
pass CI env
Browse files Browse the repository at this point in the history
  • Loading branch information
mschile committed Dec 6, 2024
1 parent bcfb39d commit 6dd40fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('windowSize', () => {
innerHeight: top.window.innerHeight,
}).deep.eq({
innerWidth: 1280,
innerHeight: process.env.CI ? 676 : 677, // firefox 133 decreased the size here from 720 to 676/677
innerHeight: Cypress.env('CI') ? 676 : 677, // firefox 133 decreased the size here from 720 to 676/677
})
} else {
expect({
Expand Down
7 changes: 6 additions & 1 deletion system-tests/test/headless_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,15 @@ describe('e2e headless', function () {
})
})

systemTests.it('launches maximized by default in headless mode (1920x1080)', {
systemTests.it('launches maximized by default in headless mode', {
headed: false,
project: 'screen-size',
spec: 'default_size.cy.js',
config: {
env: {
'CI': process.env.CI,
},
},
})

systemTests.it('launches at DPR 1x', {
Expand Down

5 comments on commit 6dd40fa

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6dd40fa Dec 6, 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-6dd40fa85e63892947565b20415eefeac36fe898/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6dd40fa Dec 6, 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-6dd40fa85e63892947565b20415eefeac36fe898/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6dd40fa Dec 6, 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 darwin 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/darwin-arm64/ryanm/chore/electron-33-upgrade-6dd40fa85e63892947565b20415eefeac36fe898/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6dd40fa Dec 6, 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 darwin 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/darwin-x64/ryanm/chore/electron-33-upgrade-6dd40fa85e63892947565b20415eefeac36fe898/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6dd40fa Dec 6, 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 win32 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/win32-x64/ryanm/chore/electron-33-upgrade-6dd40fa85e63892947565b20415eefeac36fe898/cypress.tgz

Please sign in to comment.