mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-07 23:40:21 -05:00
291 lines
7.3 KiB
JavaScript
291 lines
7.3 KiB
JavaScript
exports['verbose stdout output 1'] = `
|
|
It looks like this is your first time using Cypress: 1.2.3
|
|
|
|
✔ Verified Cypress! /cache/Cypress/1.2.3/Cypress.app
|
|
|
|
Opening Cypress...
|
|
|
|
`
|
|
|
|
exports['no version of Cypress installed 1'] = `
|
|
Error: No version of Cypress is installed in: /cache/Cypress/1.2.3/Cypress.app
|
|
|
|
Please reinstall Cypress by running: cypress install
|
|
----------
|
|
|
|
Cypress executable not found at: /cache/Cypress/1.2.3/Cypress.app/Contents/MacOS/Cypress
|
|
----------
|
|
|
|
Platform: darwin (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|
|
|
|
exports['warning installed version does not match verified version 1'] = `
|
|
Found binary version bloop installed in: /cache/Cypress/1.2.3/Cypress.app
|
|
|
|
⚠ Warning: Binary version bloop does not match the expected package version 1.2.3
|
|
|
|
These versions may not work properly together.
|
|
|
|
|
|
`
|
|
|
|
exports['executable cannot be found 1'] = `
|
|
Error: No version of Cypress is installed in: /cache/Cypress/1.2.3/Cypress.app
|
|
|
|
Please reinstall Cypress by running: cypress install
|
|
----------
|
|
|
|
Cypress executable not found at: /cache/Cypress/1.2.3/Cypress.app/Contents/MacOS/Cypress
|
|
----------
|
|
|
|
Platform: darwin (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|
|
|
|
exports['verification with executable 1'] = `
|
|
It looks like this is your first time using Cypress: 1.2.3
|
|
|
|
✔ Verified Cypress! /cache/Cypress/1.2.3/Cypress.app
|
|
|
|
Opening Cypress...
|
|
|
|
`
|
|
|
|
exports['fails verifying Cypress 1'] = `
|
|
It looks like this is your first time using Cypress: 1.2.3
|
|
|
|
✖ Verifying Cypress can run /cache/Cypress/1.2.3/Cypress.app
|
|
STRIPPED
|
|
Error: Cypress failed to start.
|
|
|
|
This is usually caused by a missing library or dependency.
|
|
|
|
The error below should indicate which dependency is missing.
|
|
|
|
https://on.cypress.io/required-dependencies
|
|
|
|
If you are using Docker, we provide containers with all required dependencies installed.
|
|
----------
|
|
|
|
an error about dependencies
|
|
----------
|
|
|
|
Platform: darwin (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|
|
|
|
exports['current version has not been verified 1'] = `
|
|
It looks like this is your first time using Cypress: 1.2.3
|
|
|
|
✔ Verified Cypress! /cache/Cypress/1.2.3/Cypress.app
|
|
|
|
Opening Cypress...
|
|
|
|
`
|
|
|
|
exports['no welcome message 1'] = `
|
|
Found binary version 7.8.9 installed in: /cache/Cypress/1.2.3/Cypress.app
|
|
|
|
⚠ Warning: Binary version 7.8.9 does not match the expected package version 1.2.3
|
|
|
|
These versions may not work properly together.
|
|
|
|
|
|
`
|
|
|
|
exports['xvfb fails 1'] = `
|
|
It looks like this is your first time using Cypress: 1.2.3
|
|
|
|
✖ Verifying Cypress can run /cache/Cypress/1.2.3/Cypress.app
|
|
STRIPPED
|
|
Error: Your system is missing the dependency: XVFB
|
|
|
|
Install XVFB and run Cypress again.
|
|
|
|
Read our documentation on dependencies for more information:
|
|
|
|
https://on.cypress.io/required-dependencies
|
|
|
|
If you are using Docker, we provide containers with all required dependencies installed.
|
|
----------
|
|
|
|
Caught error trying to run XVFB: "test without xvfb"
|
|
----------
|
|
|
|
Platform: darwin (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|
|
|
|
exports['verifying in ci 1'] = `
|
|
It looks like this is your first time using Cypress: 1.2.3
|
|
|
|
[xx:xx:xx] Verifying Cypress can run /cache/Cypress/1.2.3/Cypress.app [started]
|
|
[xx:xx:xx] Verifying Cypress can run /cache/Cypress/1.2.3/Cypress.app [completed]
|
|
|
|
Opening Cypress...
|
|
|
|
`
|
|
|
|
exports['valid CYPRESS_RUN_BINARY 1'] = `
|
|
Note: You have set the environment variable: CYPRESS_RUN_BINARY=/custom/Contents/MacOS/Cypress:
|
|
|
|
This overrides the default Cypress binary path used.
|
|
|
|
It looks like this is your first time using Cypress: 1.2.3
|
|
|
|
✔ Verified Cypress! /real/custom
|
|
|
|
Opening Cypress...
|
|
|
|
`
|
|
|
|
exports['darwin: error when invalid CYPRESS_RUN_BINARY 1'] = `
|
|
Note: You have set the environment variable: CYPRESS_RUN_BINARY=/custom/:
|
|
|
|
This overrides the default Cypress binary path used.
|
|
|
|
Error: Could not run binary set by environment variable CYPRESS_RUN_BINARY=/custom/
|
|
|
|
Ensure the environment variable is a path to the Cypress binary, matching **/Contents/MacOS/Cypress
|
|
----------
|
|
|
|
ENOENT: no such file or directory, stat '/custom/'
|
|
----------
|
|
|
|
Platform: darwin (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|
|
|
|
exports['linux: error when invalid CYPRESS_RUN_BINARY 1'] = `
|
|
Note: You have set the environment variable: CYPRESS_RUN_BINARY=/custom/:
|
|
|
|
This overrides the default Cypress binary path used.
|
|
|
|
Error: Could not run binary set by environment variable CYPRESS_RUN_BINARY=/custom/
|
|
|
|
Ensure the environment variable is a path to the Cypress binary, matching **/Cypress
|
|
----------
|
|
|
|
ENOENT: no such file or directory, stat '/custom/'
|
|
----------
|
|
|
|
Platform: linux (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|
|
|
|
exports['win32: error when invalid CYPRESS_RUN_BINARY 1'] = `
|
|
Note: You have set the environment variable: CYPRESS_RUN_BINARY=/custom/:
|
|
|
|
This overrides the default Cypress binary path used.
|
|
|
|
Error: Could not run binary set by environment variable CYPRESS_RUN_BINARY=/custom/
|
|
|
|
Ensure the environment variable is a path to the Cypress binary, matching **/Cypress.exe
|
|
----------
|
|
|
|
ENOENT: no such file or directory, stat '/custom/'
|
|
----------
|
|
|
|
Platform: win32 (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|
|
|
|
exports['silent verify 1'] = `
|
|
[no output]
|
|
`
|
|
|
|
exports['no Cypress executable 1'] = `
|
|
Error: No version of Cypress is installed in: /cache/Cypress/1.2.3/Cypress.app
|
|
|
|
Please reinstall Cypress by running: cypress install
|
|
----------
|
|
|
|
Cypress executable not found at: /cache/Cypress/1.2.3/Cypress.app/Contents/MacOS/Cypress
|
|
----------
|
|
|
|
Platform: darwin (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|
|
|
|
exports['Cypress non-executable permissions 1'] = `
|
|
Error: Cypress cannot run because the binary does not have executable permissions: /cache/Cypress/1.2.3/Cypress.app/Contents/MacOS/Cypress
|
|
|
|
Reasons this may happen:
|
|
|
|
- node was installed as 'root' or with 'sudo'
|
|
- the cypress npm package as 'root' or with 'sudo'
|
|
|
|
Please check that you have the appropriate user permissions.
|
|
----------
|
|
|
|
Platform: darwin (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|
|
|
|
exports['different version installed 1'] = `
|
|
Found binary version 7.8.9 installed in: /cache/Cypress/1.2.3/Cypress.app
|
|
|
|
⚠ Warning: Binary version 7.8.9 does not match the expected package version 1.2.3
|
|
|
|
These versions may not work properly together.
|
|
|
|
It looks like this is your first time using Cypress: 7.8.9
|
|
|
|
✔ Verified Cypress! /cache/Cypress/1.2.3/Cypress.app
|
|
|
|
Opening Cypress...
|
|
|
|
`
|
|
|
|
exports['fails with no stderr 1'] = `
|
|
Error: Cypress failed to start.
|
|
|
|
This is usually caused by a missing library or dependency.
|
|
|
|
The error below should indicate which dependency is missing.
|
|
|
|
https://on.cypress.io/required-dependencies
|
|
|
|
If you are using Docker, we provide containers with all required dependencies installed.
|
|
----------
|
|
|
|
Error: EPERM NOT PERMITTED
|
|
----------
|
|
|
|
Platform: darwin (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|
|
|
|
exports['error binary not found in ci 1'] = `
|
|
Error: The cypress npm package is installed, but the Cypress binary is missing.
|
|
|
|
We expected the binary to be installed here: /cache/Cypress/1.2.3/Cypress.app/Contents/MacOS/Cypress
|
|
|
|
Reasons it may be missing:
|
|
|
|
- You're caching 'node_modules' but are not caching this path: /cache/Cypress
|
|
- You ran 'npm install' at an earlier build step but did not persist: /cache/Cypress
|
|
|
|
Properly caching the binary will fix this error and avoid downloading and unzipping Cypress.
|
|
|
|
Alternatively, you can run 'cypress install' to download the binary again.
|
|
|
|
https://on.cypress.io/not-installed-ci-error
|
|
----------
|
|
|
|
Platform: darwin (Foo-OsVersion)
|
|
Cypress Version: 1.2.3
|
|
|
|
`
|