Skip to content

Commit

Permalink
Cypress v4.0 (#4226)
Browse files Browse the repository at this point in the history
Cypress v4.0
  • Loading branch information
flotwig committed Feb 6, 2020
2 parents 29cd957 + d76123b commit c9bccf2
Show file tree
Hide file tree
Showing 315 changed files with 8,151 additions and 2,339 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ packages/extension/test/helpers/background.js
packages/server/lib/scaffold/plugins/index.js
packages/server/lib/scaffold/support/index.js
packages/server/lib/scaffold/support/commands.js
packages/server/test/support/fixtures/projects/e2e/cypress/integration/stdout_exit_early_failing_spec.js

packages/launcher/lib/**/*.js

Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": false
}
}
},
"typescript.tsdk": "node_modules/typescript/lib"
}
9 changes: 8 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,20 @@ test_script:
- node --version
- npm --version
- 7z
- echo *** Browsers installed on this system ***
- cd packages/launcher && node index.js && cd ../..

- echo *** Kitchensink tests run on Chrome browser ***
- npm run dev -- --run-project %CD%/packages/example --browser chrome
- echo *** Kitchensink tests run on Edge browser ***
- npm run dev -- --run-project %CD%/packages/example --browser edge

# make sure mocha runs
- npm run test-mocha
# make sure our snapshots are compared correctly
# - npm run test-mocha-snapshot
# the other larger tests
- echo Building Windows NPM package %NEXT_DEV_VERSION%
- echo *** Building Windows NPM package %NEXT_DEV_VERSION% ***
- npm --no-git-tag-version version %NEXT_DEV_VERSION%
- cd cli
- npm install
Expand Down
Loading

4 comments on commit c9bccf2

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9bccf2 Feb 6, 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-c9bccf27f85164a9e157296fb259118cb79560fb-247349/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.0/circle-develop-c9bccf27f85164a9e157296fb259118cb79560fb-247338/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9bccf2 Feb 6, 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.0/win32-ia32/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.0/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/4.0.0/win32-ia32/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.0/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.0.0/win32-ia32/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.0/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/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.0/win32-ia32/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.zip npm install https://cdn.cypress.io/beta/npm/4.0.0/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9bccf2 Feb 6, 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-c9bccf27f85164a9e157296fb259118cb79560fb-247361/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.0/circle-develop-c9bccf27f85164a9e157296fb259118cb79560fb-247359/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9bccf2 Feb 6, 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.0/win32-x64/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.0/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/4.0.0/win32-x64/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.0/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.0.0/win32-x64/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.0.0/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/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.0/win32-x64/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.zip npm install https://cdn.cypress.io/beta/npm/4.0.0/appveyor-develop-c9bccf27f85164a9e157296fb259118cb79560fb-30620597/cypress.tgz

Please sign in to comment.