cypress-cli
Advanced tools
Comparing version 0.11.0 to 0.11.1
{ | ||
"name": "cypress-cli", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "CLI for Cypress.io Desktop App", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
@@ -101,3 +101,3 @@ # Cypress CLI [![Circle CI](https://circleci.com/gh/cypress-io/cypress-cli.svg?style=shield)](https://circleci.com/gh/cypress-io/cypress-cli) | ||
## specify a spec to run instead of running all the tests | ||
cypress run --spec app_spec.js | ||
cypress run --spec cypress/integration/app_spec.js | ||
``` | ||
@@ -110,4 +110,9 @@ | ||
You can [read more about environment variables here.](https://on.cypress.io/environment-variables) | ||
```bash | ||
## specify configuration values which override cypress.json | ||
cypress run --config pageLoadTimeout=100000,watchForFileChanges=false | ||
``` | ||
You can read more about [environment variables](https://on.cypress.io/environment-variables) and [configuration](https://on.cypress.io/configuration) here. | ||
### cypress ci | ||
@@ -117,2 +122,4 @@ | ||
> **Note:** `cypress ci` supports all the same flags as `cypress run`. | ||
```bash | ||
@@ -132,4 +139,21 @@ ## provide the CI secret key directly | ||
In Mac you'll see the `Cy` icon in the tray, and in Linux you'll see the Cypress application window open. | ||
In Mac you'll see the `cy` icon in the tray, and in Linux you'll see the Cypress application window open. | ||
Arguments you pass to `cypress open` will automatically be applied to the projects you open. These persist onto all projects until you quit the Cypress Desktop Application. | ||
```bash | ||
## specify a port to use which overrides values in cypress.json | ||
cypress open --port 8080 | ||
``` | ||
```bash | ||
## specify configuration values which override cypress.json | ||
cypress open --config pageLoadTimeout=100000,watchForFileChanges=false | ||
``` | ||
```bash | ||
## specify environment variables | ||
cypress open --env host=api.dev.local | ||
``` | ||
### cypress get:path | ||
@@ -182,4 +206,7 @@ | ||
#### 0.11.1 | ||
- cypress ci accepts --spec argument | ||
#### 0.11.0 | ||
- cypress open now accepts arguments | ||
- `cypress open` now accepts arguments | ||
- you can now pass the --config flag to `cypress run`, `ci`, and `open` which overrides `cypress.json` configuration values |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57451
208