Skip to content

Commit

Permalink
fix: add alternative binary names for edge-beta (#25456)
Browse files Browse the repository at this point in the history
Co-authored-by: Emily Rohrbough <[email protected]>
Co-authored-by: Bill Glesias <[email protected]>
closes undefined
  • Loading branch information
CarbonCollins authored Jan 25, 2023
1 parent 84d07a1 commit 3eb3a16
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 8 deletions.
5 changes: 5 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

_Released 01/31/2023 (PENDING)_

**Bugfixes:**

- Fixed an issue where alternative Microsoft Edge Beta and Canary binary names were not being discovered by Cypress.
Fixes [#25455](https://github.com/cypress-io/cypress/issues/25455).

## 12.4.0

_Released 1/24/2023_
Expand Down
10 changes: 8 additions & 2 deletions packages/launcher/__snapshots__/browsers_spec.ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ exports['browsers returns the expected list of browsers 1'] = [
"channel": "canary",
"displayName": "Edge Canary",
"versionRegex": {},
"binary": "edge-canary",
"binary": [
"edge-canary",
"microsoft-edge-canary"
],
"minSupportedVersion": 79
},
{
Expand All @@ -102,7 +105,10 @@ exports['browsers returns the expected list of browsers 1'] = [
"channel": "beta",
"displayName": "Edge Beta",
"versionRegex": {},
"binary": "edge-beta",
"binary": [
"edge-beta",
"microsoft-edge-beta"
],
"minSupportedVersion": 79
},
{
Expand Down
10 changes: 8 additions & 2 deletions packages/launcher/__snapshots__/darwin_spec.ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ exports['darwin browser detection detects browsers as expected 1'] = [
"channel": "canary",
"displayName": "Edge Canary",
"versionRegex": {},
"binary": "edge-canary",
"binary": [
"edge-canary",
"microsoft-edge-canary"
],
"minSupportedVersion": 79,
"path": "/Applications/Microsoft Edge Canary.app/Contents/MacOS/Microsoft Edge Canary",
"version": "someVersion",
Expand All @@ -174,7 +177,10 @@ exports['darwin browser detection detects browsers as expected 1'] = [
"channel": "beta",
"displayName": "Edge Beta",
"versionRegex": {},
"binary": "edge-beta",
"binary": [
"edge-beta",
"microsoft-edge-beta"
],
"minSupportedVersion": 79,
"path": "/Applications/Microsoft Edge Beta.app/Contents/MacOS/Microsoft Edge Beta",
"version": "someVersion",
Expand Down
10 changes: 8 additions & 2 deletions packages/launcher/__snapshots__/windows_spec.ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ exports['windows browser detection detects browsers as expected 1'] = [
"channel": "canary",
"displayName": "Edge Canary",
"versionRegex": {},
"binary": "edge-canary",
"binary": [
"edge-canary",
"microsoft-edge-canary"
],
"minSupportedVersion": 79,
"path": "C:/Users/flotwig/AppData/Local/Microsoft/Edge SxS/Application/msedge.exe",
"version": "14",
Expand All @@ -174,7 +177,10 @@ exports['windows browser detection detects browsers as expected 1'] = [
"channel": "beta",
"displayName": "Edge Beta",
"versionRegex": {},
"binary": "edge-beta",
"binary": [
"edge-beta",
"microsoft-edge-beta"
],
"minSupportedVersion": 79,
"path": "C:/Program Files (x86)/Microsoft/Edge Beta/Application/msedge.exe",
"version": "12",
Expand Down
4 changes: 2 additions & 2 deletions packages/launcher/lib/known-browsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const knownBrowsers: Browser[] = [
channel: 'canary',
displayName: 'Edge Canary',
versionRegex: /Microsoft Edge Canary (\S+)/m,
binary: 'edge-canary',
binary: ['edge-canary', 'microsoft-edge-canary'],
minSupportedVersion: MIN_EDGE_VERSION,
},
{
Expand All @@ -136,7 +136,7 @@ export const knownBrowsers: Browser[] = [
channel: 'beta',
displayName: 'Edge Beta',
versionRegex: /Microsoft Edge Beta (\S+)/m,
binary: 'edge-beta',
binary: ['edge-beta', 'microsoft-edge-beta'],
minSupportedVersion: MIN_EDGE_VERSION,
},
{
Expand Down

5 comments on commit 3eb3a16

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3eb3a16 Jan 25, 2023

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/12.4.1/linux-arm64/develop-3eb3a166104d97611b5b32d8e26733786e58df44/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3eb3a16 Jan 25, 2023

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/12.4.1/linux-x64/develop-3eb3a166104d97611b5b32d8e26733786e58df44/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3eb3a16 Jan 25, 2023

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/12.4.1/darwin-x64/develop-3eb3a166104d97611b5b32d8e26733786e58df44/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3eb3a16 Jan 25, 2023

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/12.4.1/win32-x64/develop-3eb3a166104d97611b5b32d8e26733786e58df44/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3eb3a16 Jan 25, 2023

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/12.4.1/darwin-arm64/develop-3eb3a166104d97611b5b32d8e26733786e58df44/cypress.tgz

Please sign in to comment.