Skip to content

Commit

Permalink
fix: Add reporter options (#8217)
Browse files Browse the repository at this point in the history
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
  • Loading branch information
6 people committed Aug 17, 2020
1 parent 4c8fb2f commit 2f835f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cli/types/cypress.d.ts
Expand Up @@ -2416,7 +2416,12 @@ declare namespace Cypress {
*/
reporter: string
/**
* Whether to take a screenshot on test failure when running headlessly or in CI
* Some reporters accept [reporterOptions](https://on.cypress.io/reporters) that customize their behavior
* @default "spec"
*/
reporterOptions: { [key: string]: any }
/**
* Whether Cypress will watch and restart tests on test file changes
* @default true
*/
watchForFileChanges: boolean
Expand Down

3 comments on commit 2f835f7

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 2f835f7 Aug 17, 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/5.0.0/linux-x64/circle-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-423722/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/circle-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-423709/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 2f835f7 Aug 17, 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/5.0.0/win32-x64/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/5.0.0/win32-x64/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.0/win32-x64/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/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/5.0.0/win32-x64/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.zip npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 2f835f7 Aug 17, 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/5.0.0/win32-ia32/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/5.0.0/win32-ia32/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.0/win32-ia32/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/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/5.0.0/win32-ia32/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.zip npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-2f835f7f15ccb80a5efe06cfd0919bc26cac6110-34692053/cypress.tgz

Please sign in to comment.