Skip to content

Commit

Permalink
chore: Revert "misc: allow HiDPI Screen running wayland to use cypres…
Browse files Browse the repository at this point in the history
…s window/browse…" (#30029)
  • Loading branch information
AtofStryker authored Aug 13, 2024
1 parent a421f15 commit 16670bb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ _Released 8/13/2024 (PENDING)_
**Misc:**

- Updated `cypress open` hints displayed after Cypress binary install. Addresses [#29935](https://github.com/cypress-io/cypress/issues/29935).
- Allow HiDPI Screen running wayland to use cypress window/browser by adding `--ozone-platform=auto` flag to the electron's runtime argument. Addresses [#20891](https://github.com/cypress-io/cypress/issues/20891).

**Dependency Updates:**

Expand Down
2 changes: 1 addition & 1 deletion cli/lib/exec/spawn.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ module.exports = {

const { onStderrData } = overrides
const envOverrides = util.getEnvOverrides(options)
const electronArgs = ['--ozone-platform=auto']
const electronArgs = []
const node11WindowsFix = isPlatform('win32')

let startScriptPath
Expand Down
4 changes: 0 additions & 4 deletions cli/test/lib/exec/spawn_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ describe('lib/exec/spawn', function () {
return spawn.start('--foo', { foo: 'bar' })
.then(() => {
expect(cp.spawn).to.be.calledWithMatch('/path/to/cypress', [
'--ozone-platform=auto',
'--',
'--foo',
'--cwd',
Expand Down Expand Up @@ -149,7 +148,6 @@ describe('lib/exec/spawn', function () {
const args = cp.spawn.firstCall.args.slice(0, 2)
// it is important for "--no-sandbox" to appear before "--" separator
const expectedCliArgs = [
'--ozone-platform=auto',
'--no-sandbox',
'--',
'--foo',
Expand All @@ -175,7 +173,6 @@ describe('lib/exec/spawn', function () {
.then(() => {
expect(cp.spawn).to.be.calledWithMatch('node', [
p,
'--ozone-platform=auto',
'--',
'--foo',
'--cwd',
Expand All @@ -201,7 +198,6 @@ describe('lib/exec/spawn', function () {
.then(() => {
expect(cp.spawn).to.be.calledWithMatch('node', [
p,
'--ozone-platform=auto',
'--',
'--foo',
'--cwd',
Expand Down

2 comments on commit 16670bb

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 16670bb Aug 13, 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/13.13.3/linux-arm64/develop-16670bbfb9c9f1617b6672913fa6758dc12b62a4/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 16670bb Aug 13, 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/13.13.3/linux-x64/develop-16670bbfb9c9f1617b6672913fa6758dc12b62a4/cypress.tgz

Please sign in to comment.