Skip to content

Commit

Permalink
update to new browser
Browse files Browse the repository at this point in the history
  • Loading branch information
mschile committed Dec 11, 2024
1 parent 2abfca4 commit 35c24be
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion packages/launcher/lib/darwin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export const browsers: Detectors = {
appId: 'com.google.Chrome.canary',
versionProperty: 'KSVersion',
},
test: {
},
'chrome-for-testing': {
stable: {
appName: 'Google Chrome for Testing.app',
executable: 'Contents/MacOS/Google Chrome for Testing',
appId: 'com.google.chrome.for.testing',
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 @@ -57,9 +57,9 @@ export const knownBrowsers: Browser[] = [
minSupportedVersion: MIN_CHROME_VERSION,
},
{
name: 'chrome',
name: 'chrome-for-testing',
family: 'chromium',
channel: 'test',
channel: 'stable',
displayName: 'Chrome Test',
versionRegex: /Google Chrome for Testing (\S+)/m,
binary: 'chrome',
Expand Down
4 changes: 3 additions & 1 deletion packages/launcher/lib/windows/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ const formPaths: WindowsBrowserPaths = {
stable: formFullAppPath,
beta: formChromeBetaAppPath,
canary: formChromeCanaryAppPath,
test: formChromeForTestingAppPath,
},
'chrome-for-testing': {
stable: formChromeForTestingAppPath,
},
chromium: {
stable: formChromiumAppPath,
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const BROWSER_FAMILY = ['chromium', 'firefox', 'webkit']

type BrowserName = 'electron' | 'chrome' | 'chromium' | 'firefox' | 'webkit' | string

export type BrowserChannel = 'stable' | 'canary' | 'beta' | 'dev' | 'nightly' | 'test' | string
export type BrowserChannel = 'stable' | 'canary' | 'beta' | 'dev' | 'nightly' | string

export type BrowserFamily = typeof BROWSER_FAMILY[number]

Expand Down

3 comments on commit 35c24be

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 35c24be Dec 11, 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.17.0/linux-x64/mschile/chrome_for_testing-35c24bed29618402a613c89af29e27a38e14fb03/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 35c24be Dec 11, 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.17.0/linux-arm64/mschile/chrome_for_testing-35c24bed29618402a613c89af29e27a38e14fb03/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 35c24be Dec 11, 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/13.17.0/win32-x64/mschile/chrome_for_testing-35c24bed29618402a613c89af29e27a38e14fb03/cypress.tgz

Please sign in to comment.