Skip to content

Commit

Permalink
Correct detection logic for Edge & Firefox Nightly (#6364)
Browse files Browse the repository at this point in the history
Correct detection logic for Edge & Firefox Nightly on MacOSX
  • Loading branch information
YOU54F committed Feb 7, 2020
1 parent f66e25a commit c9d8b34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/launcher/lib/darwin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,28 @@ const detectFirefoxNightly = partial(findApp, [
'Firefox Nightly.app',
'Contents/MacOS/firefox-bin',
'org.mozilla.nightly',
'CFBundleShortVersionString',
])
const detectEdgeCanary = partial(findApp, [
'Microsoft Edge Canary.app',
'Contents/MacOS/Microsoft Edge Canary',
'com.microsoft.Edge.Canary',
'CFBundleShortVersionString',
])
const detectEdgeBeta = partial(findApp, [
'Microsoft Edge Beta.app',
'Contents/MacOS/Microsoft Edge Beta',
'com.microsoft.Edge.Beta',
'CFBundleShortVersionString',
])
const detectEdgeDev = partial(findApp, [
'Microsoft Edge Dev.app',
'Contents/MacOS/Microsoft Edge Dev',
'com.microsoft.Edge.Dev',
'CFBundleShortVersionString',
])
const detectEdge = partial(findApp, [
'Microsoft Edge.app',
'Contents/MacOS/Microsoft Edge',
'com.microsoft.Edge',
'CFBundleShortVersionString',
Expand Down

4 comments on commit c9d8b34

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9d8b34 Feb 7, 2020

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.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.0.0/linux-x64/circle-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-248227/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.0/circle-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-248109/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9d8b34 Feb 7, 2020

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.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.0.0/darwin-x64/circle-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-248281/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.0/circle-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-248233/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9d8b34 Feb 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 ia32 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

Instructions are included below, depending on the shell you are using.

In Command Prompt (cmd.exe):

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.0.1/win32-ia32/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.1/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/4.0.1/win32-ia32/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.1/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.0.1/win32-ia32/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.1/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.tgz

Using cross-env:

If the above commands do not work for you, you can also try using cross-env:

npm i -g cross-env
cross-env CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.0.1/win32-ia32/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.zip npm install https://cdn.cypress.io/beta/npm/4.0.1/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9d8b34 Feb 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

Instructions are included below, depending on the shell you are using.

In Command Prompt (cmd.exe):

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.0.1/win32-x64/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.1/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/4.0.1/win32-x64/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.1/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.0.1/win32-x64/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.1/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.tgz

Using cross-env:

If the above commands do not work for you, you can also try using cross-env:

npm i -g cross-env
cross-env CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.0.1/win32-x64/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.zip npm install https://cdn.cypress.io/beta/npm/4.0.1/appveyor-develop-c9d8b347ac7abaa3459defc2859e0a3afaeda810-30651429/cypress.tgz

Please sign in to comment.