Skip to content

Commit

Permalink
Remove last remaining mentions of interactive vs run mode (cypress-io…
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-shehane authored Mar 16, 2020
1 parent a0f8003 commit d4995a5
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion source/_changelogs/3.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- We have added support for more CI providers to automatically detect and show more relevant information in the Dashboard, instead of showing 'Unknown'. Fixes {% issue 2146 %}.
- We have added better checks and reliability for detecting runs in Jenkins. Fixes {% issue 1990 %}.
- The built in {% url "`cypress-browserify-preprocessor`" https://github.com/cypress-io/cypress-browserify-preprocessor %} was bumped to `1.1.0`. This supports more JavaScript features by default, including async/await, object rest spread, and class properties. Fixes {% issue 2254 %}.
- {% url "`cypress run`" command-line#cypress-run %} now creates a new browser profile per run per browser, but keeps the same browser profile for interactive mode with {% url "`cypress open`" command-line#cypress-open %}. This means you can run Cypress locally over multiple processes and the browser profiles will not conflict with each other. Fixes {% issue 1566 %}.
- {% url "`cypress run`" command-line#cypress-run %} now creates a new browser profile per run per browser, but keeps the same browser profile when run via {% url "`cypress open`" command-line#cypress-open %}. This means you can run Cypress locally over multiple processes and the browser profiles will not conflict with each other. Fixes {% issue 1566 %}.
- The Desktop-GUI has been updated to get the new routes provided by the Cypress API for runs. Fixes {% issue 2189 %}.
- Cypress now retries multiple times (with a backoff strategy) when communicating with our API fails while recording runs. This will provide better feedback in situations when the API is temporarily unavailable. Fixes {% issue 1590 %}.
- When Cypress retries due to an API timeout or failure it now displays a very nice message indicating to you the delay and number of retries left. Fixes {% issue 2280 %}.
Expand Down
2 changes: 1 addition & 1 deletion source/_changelogs/3.8.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} where calling `.type({ force: true })` on hidden inputs would not type the correct characters. Fixes {% issue 5835 %}.
- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} where {% url "`.type()`" type %} was not respecting previous selections if the current value of the input was the same as the key. This also fixed an where {% url "`.type()`" type %} would not respect previous selections in non-selectionRange inputs (like email or number inputs). Fixes {% issue 5703 %}.
- During visibility checks, Cypress now properly evaluates a DOM element transformed by `scale(0)` or `rotateY(90deg)` as not visible. Fixes {% issue 723 %}.
- Fixed a bug where the specs list in interactive mode would not refresh when files are changed on disk. Fixes {% issue 5933 %}.
- Fixed a bug where the specs list during `cypress open` would not refresh when files are changed on disk. Fixes {% issue 5933 %}.
- `env` configuration option displays properly within the settings panel. Previously, setting env options would incorrectly render `"undefined"` as the value. Fixes {% issue 5859 %}.

**Misc:**
Expand Down
4 changes: 2 additions & 2 deletions source/api/events/catalog-of-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ Event | Details
Event | Details
--- | ---
**Name:** | `log:added`
**Yields:** | log attributes **(Object)**, whether Cypress is in interactive mode **(Boolean)**
**Yields:** | log attributes **(Object)**, whether Cypress is in interactive mode (running via `cypress open`) **(Boolean)**
**Description:** | Fires whenever a command emits this event so it can be displayed in the Command Log. Useful to see how internal cypress commands utilize the {% url 'Cypress.log()' cypress-log %} API.

Event | Details
--- | ---
**Name:** | `log:changed`
**Yields:** | log attributes **(Object)**, whether Cypress is in interactive mode **(Boolean)**
**Yields:** | log attributes **(Object)**, whether Cypress is in interactive mode (running via `cypress open`) **(Boolean)**
**Description:** | Fires whenever a command's attributes changes. This event is debounced to prevent it from firing too quickly and too often. Useful to see how internal cypress commands utilize the {% url 'Cypress.log()' cypress-log %} API.

Event | Details
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ it('can subtract numbers', function() {

# Watching tests

When running in interactive mode using {% url "`cypress open`" command-line#cypress-open %} Cypress watches the filesystem for changes to your spec files. Soon after adding or updating a test Cypress will reload it and run all of the tests in that spec file.
When running in using {% url "`cypress open`" command-line#cypress-open %}, Cypress watches the filesystem for changes to your spec files. Soon after adding or updating a test Cypress will reload it and run all of the tests in that spec file.

This makes for a productive development experience because you can add and edit tests as you're implementing a feature and the Cypress user interface will always reflect the results of your latest edits.

Expand Down
2 changes: 1 addition & 1 deletion source/guides/getting-started/testing-your-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,5 +396,5 @@ From here you may want to explore some more of our guides:
- {% url "Tutorial Videos" tutorials %} to watch step-by-step tutorial videos
- {% url "Cypress API" table-of-contents %} to learn what commands are available as you work
- {% url "Introduction to Cypress" introduction-to-cypress %} explains how Cypress *really* works
- {% url 'Command Line' command-line %} for running all your tests outside of interactive mode
- {% url 'Command Line' command-line %} for running all your tests outside via `cypress run`
- {% url 'Continuous Integration' continuous-integration %} for running Cypress in CI
2 changes: 1 addition & 1 deletion source/guides/getting-started/writing-your-first-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Assuming you've successfully {% url "installed the Test Runner" installing-cypre

1. Create a `sample_spec.js` file.
2. Watch Cypress update our list of specs.
3. Launch Cypress in interactive mode.
3. Launch the Cypress Test Runner.

Let's create a new file in the `cypress/integration` folder that was created for us:

Expand Down
4 changes: 2 additions & 2 deletions source/guides/guides/command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Video recording is not currently supported in Electron with the `--headed` flag.

By default, Cypress will run tests in Electron headlessly.

Passing `--headed` will force Electron to be shown. This matches how you run Electron in interactive mode.
Passing `--headed` will force Electron to be shown. This matches how you run Electron via `cypress open`.

```shell
cypress run --headed
Expand Down Expand Up @@ -335,7 +335,7 @@ The Dashboard will display any tags sent with the appropriate run.

## `cypress open`

Opens the Cypress Test Runner in interactive mode.
Opens the Cypress Test Runner.

```shell
cypress open [options]
Expand Down
4 changes: 2 additions & 2 deletions source/guides/guides/screenshots-and-videos.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ title: Screenshots and Videos

# Screenshots

Cypress comes with the ability to take screenshots, whether you are running in interactive mode using `cypress open` or run mode using `cypress run`, even in CI.
Cypress comes with the ability to take screenshots, whether you are running via `cypress open` or `cypress run`, even in CI.

To take a manual screenshot you can use the {% url `cy.screenshot()` screenshot %} command.

Additionally, Cypress will automatically capture screenshots when a failure happens during runs outside of interactive mode.
Additionally, Cypress will automatically capture screenshots when a failure happens during `cypress open`. Screenshots on failure are *not* automatically taken during `cypress open`.

This behavior can be turned off by setting `screenshotOnRunFailure` to `false` in the {% url 'Cypress.Screenshot.defaults()' screenshot-api %}.

Expand Down

0 comments on commit d4995a5

Please sign in to comment.