diff --git a/assets/img/examples/auth0-origin.mp4 b/assets/img/examples/auth0-origin.mp4 new file mode 100644 index 0000000000..32a7ade2a1 Binary files /dev/null and b/assets/img/examples/auth0-origin.mp4 differ diff --git a/assets/img/examples/auth0-session-restore.mp4 b/assets/img/examples/auth0-session-restore.mp4 new file mode 100644 index 0000000000..54d92b5324 Binary files /dev/null and b/assets/img/examples/auth0-session-restore.mp4 differ diff --git a/assets/img/examples/aws-cognito-origin.mp4 b/assets/img/examples/aws-cognito-origin.mp4 new file mode 100644 index 0000000000..b9594ff0d0 Binary files /dev/null and b/assets/img/examples/aws-cognito-origin.mp4 differ diff --git a/assets/img/examples/cognito-session-restore.mp4 b/assets/img/examples/cognito-session-restore.mp4 new file mode 100644 index 0000000000..413613d9ee Binary files /dev/null and b/assets/img/examples/cognito-session-restore.mp4 differ diff --git a/assets/img/examples/okta-origin.mp4 b/assets/img/examples/okta-origin.mp4 new file mode 100644 index 0000000000..3b3bb1227c Binary files /dev/null and b/assets/img/examples/okta-origin.mp4 differ diff --git a/assets/img/examples/okta-session-restore.mp4 b/assets/img/examples/okta-session-restore.mp4 new file mode 100644 index 0000000000..f20a2ad47f Binary files /dev/null and b/assets/img/examples/okta-session-restore.mp4 differ diff --git a/assets/img/guides/cloud/runs/errors.png b/assets/img/guides/cloud/runs/errors.png new file mode 100644 index 0000000000..b54b753504 Binary files /dev/null and b/assets/img/guides/cloud/runs/errors.png differ diff --git a/assets/img/guides/cloud/runs/recommendations.png b/assets/img/guides/cloud/runs/recommendations.png new file mode 100644 index 0000000000..b6431df21a Binary files /dev/null and b/assets/img/guides/cloud/runs/recommendations.png differ diff --git a/assets/img/guides/cloud/runs/run-details-header.png b/assets/img/guides/cloud/runs/run-details-header.png new file mode 100644 index 0000000000..57ed7c6a38 Binary files /dev/null and b/assets/img/guides/cloud/runs/run-details-header.png differ diff --git a/assets/img/guides/cloud/runs/run-details-page.png b/assets/img/guides/cloud/runs/run-details-page.png new file mode 100644 index 0000000000..bd6729442d Binary files /dev/null and b/assets/img/guides/cloud/runs/run-details-page.png differ diff --git a/assets/img/guides/cloud/runs/run-duration.png b/assets/img/guides/cloud/runs/run-duration.png new file mode 100644 index 0000000000..a40d47b7a7 Binary files /dev/null and b/assets/img/guides/cloud/runs/run-duration.png differ diff --git a/assets/img/guides/cloud/runs/run-in-progress-panel.png b/assets/img/guides/cloud/runs/run-in-progress-panel.png new file mode 100644 index 0000000000..0d68799d75 Binary files /dev/null and b/assets/img/guides/cloud/runs/run-in-progress-panel.png differ diff --git a/assets/img/guides/cloud/runs/sidebar-artifacts.png b/assets/img/guides/cloud/runs/sidebar-artifacts.png new file mode 100644 index 0000000000..b0df808c26 Binary files /dev/null and b/assets/img/guides/cloud/runs/sidebar-artifacts.png differ diff --git a/assets/img/guides/cloud/runs/sidebar-environment.png b/assets/img/guides/cloud/runs/sidebar-environment.png new file mode 100644 index 0000000000..724d31cd0d Binary files /dev/null and b/assets/img/guides/cloud/runs/sidebar-environment.png differ diff --git a/assets/img/guides/cloud/runs/sidebar-errors.png b/assets/img/guides/cloud/runs/sidebar-errors.png new file mode 100644 index 0000000000..ce165da6b8 Binary files /dev/null and b/assets/img/guides/cloud/runs/sidebar-errors.png differ diff --git a/assets/img/guides/cloud/runs/sidebar-header.png b/assets/img/guides/cloud/runs/sidebar-header.png new file mode 100644 index 0000000000..b91b1a5e39 Binary files /dev/null and b/assets/img/guides/cloud/runs/sidebar-header.png differ diff --git a/assets/img/guides/cloud/runs/sidebar-previous-runs.png b/assets/img/guides/cloud/runs/sidebar-previous-runs.png new file mode 100644 index 0000000000..b9647e45bb Binary files /dev/null and b/assets/img/guides/cloud/runs/sidebar-previous-runs.png differ diff --git a/assets/img/guides/cloud/runs/sidebar-test-code-history.png b/assets/img/guides/cloud/runs/sidebar-test-code-history.png new file mode 100644 index 0000000000..2cf38c3ea8 Binary files /dev/null and b/assets/img/guides/cloud/runs/sidebar-test-code-history.png differ diff --git a/assets/img/guides/cloud/runs/specs-bar-chart.png b/assets/img/guides/cloud/runs/specs-bar-chart.png new file mode 100644 index 0000000000..5b60eda77a Binary files /dev/null and b/assets/img/guides/cloud/runs/specs-bar-chart.png differ diff --git a/assets/img/guides/cloud/runs/specs-machines.png b/assets/img/guides/cloud/runs/specs-machines.png new file mode 100644 index 0000000000..832fd116d6 Binary files /dev/null and b/assets/img/guides/cloud/runs/specs-machines.png differ diff --git a/assets/img/guides/cloud/runs/specs-timeline.png b/assets/img/guides/cloud/runs/specs-timeline.png new file mode 100644 index 0000000000..75cb3d1086 Binary files /dev/null and b/assets/img/guides/cloud/runs/specs-timeline.png differ diff --git a/assets/img/guides/cloud/runs/specs-view-switcher.png b/assets/img/guides/cloud/runs/specs-view-switcher.png new file mode 100644 index 0000000000..bab612d3cf Binary files /dev/null and b/assets/img/guides/cloud/runs/specs-view-switcher.png differ diff --git a/assets/img/guides/cloud/runs/test-results.png b/assets/img/guides/cloud/runs/test-results.png new file mode 100644 index 0000000000..72439083ca Binary files /dev/null and b/assets/img/guides/cloud/runs/test-results.png differ diff --git a/assets/img/guides/cloud/runs/tests-for-review.png b/assets/img/guides/cloud/runs/tests-for-review.png new file mode 100644 index 0000000000..d23512bf4e Binary files /dev/null and b/assets/img/guides/cloud/runs/tests-for-review.png differ diff --git a/assets/img/guides/cloud/smart-orchestration/auto-cancellation-active.png b/assets/img/guides/cloud/smart-orchestration/auto-cancellation-active.png new file mode 100644 index 0000000000..82addd1017 Binary files /dev/null and b/assets/img/guides/cloud/smart-orchestration/auto-cancellation-active.png differ diff --git a/assets/img/guides/cloud/smart-orchestration/spec-prioritization-active.png b/assets/img/guides/cloud/smart-orchestration/spec-prioritization-active.png new file mode 100644 index 0000000000..8d77794729 Binary files /dev/null and b/assets/img/guides/cloud/smart-orchestration/spec-prioritization-active.png differ diff --git a/assets/img/guides/component-testing/create-from-component-react.jpg b/assets/img/guides/component-testing/create-from-component-react.jpg new file mode 100644 index 0000000000..7952b5c965 Binary files /dev/null and b/assets/img/guides/component-testing/create-from-component-react.jpg differ diff --git a/assets/img/guides/component-testing/create-your-first-spec-vue.jpg b/assets/img/guides/component-testing/create-your-first-spec-cfc.jpg similarity index 100% rename from assets/img/guides/component-testing/create-your-first-spec-vue.jpg rename to assets/img/guides/component-testing/create-your-first-spec-cfc.jpg diff --git a/assets/img/guides/references/cy-method-failed-element-is-detached.png b/assets/img/guides/references/cy-method-failed-element-is-detached.png deleted file mode 100644 index 955d85023a..0000000000 Binary files a/assets/img/guides/references/cy-method-failed-element-is-detached.png and /dev/null differ diff --git a/assets/img/guides/references/cy-visit-subsequent-commands-timed-out.png b/assets/img/guides/references/cy-visit-subsequent-commands-timed-out.png new file mode 100644 index 0000000000..122f4c496f Binary files /dev/null and b/assets/img/guides/references/cy-visit-subsequent-commands-timed-out.png differ diff --git a/assets/img/guides/references/cypress-method-failed-page-updated.png b/assets/img/guides/references/cypress-method-failed-page-updated.png new file mode 100644 index 0000000000..3cc7e6bdfb Binary files /dev/null and b/assets/img/guides/references/cypress-method-failed-page-updated.png differ diff --git a/assets/img/guides/retry-ability/v10/click-twice.gif b/assets/img/guides/retry-ability/click-twice.gif similarity index 100% rename from assets/img/guides/retry-ability/v10/click-twice.gif rename to assets/img/guides/retry-ability/click-twice.gif diff --git a/assets/img/guides/retry-ability/command-assertions.png b/assets/img/guides/retry-ability/command-assertions.png new file mode 100644 index 0000000000..e9b001fc59 Binary files /dev/null and b/assets/img/guides/retry-ability/command-assertions.png differ diff --git a/assets/img/guides/retry-ability/v10/delay-click.png b/assets/img/guides/retry-ability/delay-click.png similarity index 100% rename from assets/img/guides/retry-ability/v10/delay-click.png rename to assets/img/guides/retry-ability/delay-click.png diff --git a/assets/img/guides/retry-ability/v10/eq.gif b/assets/img/guides/retry-ability/eq.gif similarity index 100% rename from assets/img/guides/retry-ability/v10/eq.gif rename to assets/img/guides/retry-ability/eq.gif diff --git a/assets/img/guides/retry-ability/v10/random-number-callback.gif b/assets/img/guides/retry-ability/random-number-callback.gif similarity index 100% rename from assets/img/guides/retry-ability/v10/random-number-callback.gif rename to assets/img/guides/retry-ability/random-number-callback.gif diff --git a/assets/img/guides/retry-ability/v10/random-number-first-attempt.png b/assets/img/guides/retry-ability/random-number-first-attempt.png similarity index 100% rename from assets/img/guides/retry-ability/v10/random-number-first-attempt.png rename to assets/img/guides/retry-ability/random-number-first-attempt.png diff --git a/assets/img/guides/retry-ability/v10/random-number.gif b/assets/img/guides/retry-ability/random-number.gif similarity index 100% rename from assets/img/guides/retry-ability/v10/random-number.gif rename to assets/img/guides/retry-ability/random-number.gif diff --git a/assets/img/guides/retry-ability/retry-assertion.gif b/assets/img/guides/retry-ability/retry-assertion.gif new file mode 100644 index 0000000000..a663d98fdd Binary files /dev/null and b/assets/img/guides/retry-ability/retry-assertion.gif differ diff --git a/assets/img/guides/retry-ability/v10/second-assertion-fails.gif b/assets/img/guides/retry-ability/second-assertion-fails.gif similarity index 100% rename from assets/img/guides/retry-ability/v10/second-assertion-fails.gif rename to assets/img/guides/retry-ability/second-assertion-fails.gif diff --git a/assets/img/guides/retry-ability/v10/adds-two-items-fails.gif b/assets/img/guides/retry-ability/v10/adds-two-items-fails.gif deleted file mode 100644 index b1cb82fbce..0000000000 Binary files a/assets/img/guides/retry-ability/v10/adds-two-items-fails.gif and /dev/null differ diff --git a/assets/img/guides/retry-ability/v10/adds-two-items-passes.gif b/assets/img/guides/retry-ability/v10/adds-two-items-passes.gif deleted file mode 100644 index 3220cba47d..0000000000 Binary files a/assets/img/guides/retry-ability/v10/adds-two-items-passes.gif and /dev/null differ diff --git a/assets/img/guides/retry-ability/v10/alternating-commands-assertions.png b/assets/img/guides/retry-ability/v10/alternating-commands-assertions.png deleted file mode 100644 index 3a31361e90..0000000000 Binary files a/assets/img/guides/retry-ability/v10/alternating-commands-assertions.png and /dev/null differ diff --git a/assets/img/guides/retry-ability/v10/combined-selectors.gif b/assets/img/guides/retry-ability/v10/combined-selectors.gif deleted file mode 100644 index 27090fae4e..0000000000 Binary files a/assets/img/guides/retry-ability/v10/combined-selectors.gif and /dev/null differ diff --git a/assets/img/guides/retry-ability/v10/command-assertions.png b/assets/img/guides/retry-ability/v10/command-assertions.png deleted file mode 100644 index c0ea8a4450..0000000000 Binary files a/assets/img/guides/retry-ability/v10/command-assertions.png and /dev/null differ diff --git a/assets/img/guides/retry-ability/v10/first-item-label.png b/assets/img/guides/retry-ability/v10/first-item-label.png deleted file mode 100644 index b8ca376c4e..0000000000 Binary files a/assets/img/guides/retry-ability/v10/first-item-label.png and /dev/null differ diff --git a/assets/img/guides/retry-ability/v10/retry-2-items.gif b/assets/img/guides/retry-ability/v10/retry-2-items.gif deleted file mode 100644 index 3f3efb951c..0000000000 Binary files a/assets/img/guides/retry-ability/v10/retry-2-items.gif and /dev/null differ diff --git a/assets/img/guides/retry-ability/v10/second-get-li.png b/assets/img/guides/retry-ability/v10/second-get-li.png deleted file mode 100644 index b18a21529a..0000000000 Binary files a/assets/img/guides/retry-ability/v10/second-get-li.png and /dev/null differ diff --git a/assets/img/guides/retry-ability/v10/second-item-label.png b/assets/img/guides/retry-ability/v10/second-item-label.png deleted file mode 100644 index f7c3477c99..0000000000 Binary files a/assets/img/guides/retry-ability/v10/second-item-label.png and /dev/null differ diff --git a/assets/img/guides/retry-ability/v10/two-items.png b/assets/img/guides/retry-ability/v10/two-items.png deleted file mode 100644 index bb30637a32..0000000000 Binary files a/assets/img/guides/retry-ability/v10/two-items.png and /dev/null differ diff --git a/assets/screenshot_guidelines.md b/assets/screenshot_guidelines.md index dac18dce09..53a7cfc6c6 100644 --- a/assets/screenshot_guidelines.md +++ b/assets/screenshot_guidelines.md @@ -1,10 +1,10 @@ ### The following is a list of direct links to sections that include a screenshot, animated gif, or video with associated code to recreate. Remember that the viewport will need to be zoomed, probably beyond what you'd expect, so that the areas of interest are visible when sized down to the main content well. In most cases below the viewport was at 150%. -### The best workflow for high quailty/small output so far is to capture via quicktime -> trim accordingly -> convert file via https://gif.ski @960xXXX | speed at 1 notch | 20FPS | maxed out quality | loop forever (or comprable using the gifski CLI). +### The best workflow for high quality/small output so far is to capture via quicktime -> trim accordingly -> convert file via https://gif.ski @960xXXX | speed at 1 notch | 20FPS | maxed out quality | loop forever (or comparable using the gifski CLI). # Cypress App v10 UI (no specific application) -http://localhost:3000/guides/getting-started/writing-your-first-end-to-end-test#Write-your-first-test +http://localhost:3000/guides/end-to-end-testing/writing-your-first-end-to-end-test#Write-your-first-test ```js describe('My First Test', () => { it('Does not do much!', () => { @@ -19,7 +19,7 @@ describe('My First Test', () => { }) ``` -http://localhost:3000/guides/getting-started/writing-your-first-end-to-end-test#Step-2-Query-for-an-element +http://localhost:3000/guides/end-to-end-testing/writing-your-first-end-to-end-test#Step-2-Query-for-an-element ```js describe('My First Test', () => { it('finds the content "type"', () => { @@ -30,7 +30,7 @@ describe('My First Test', () => { }) ``` -http://localhost:3000/guides/getting-started/testing-your-app#Step-2-Visit-your-server +http://localhost:3000/guides/end-to-end-testing/testing-your-app#Step-2-Visit-your-server 1) touch cypress/e2e/home_page.cy.js -> capture full app UI with spec ```js describe('The Home Page', () => { @@ -562,7 +562,7 @@ describe('Assertions', () => { ``` http://localhost:3000/guides/core-concepts/retry-ability#Correctly-waiting-for-values (gif) -1) Run the last test in [this spec](https://github.com/cypress-io/cypress-example-kitchensink/blob/master/cypress/integration/2-advanced-examples/assertions.spec.js) +1) Run the last test in [this spec](https://github.com/cypress-io/cypress-example-kitchensink/blob/master/cypress/e2e/2-advanced-examples/assertions.cy.js) 2) Hide the surrounding html to isolate the random counter & bump up font-size in-line to make visible in example ```js cy.get('#random-number').should(($div) => { @@ -639,7 +639,7 @@ describe('TodoMVC - React', function () { http://localhost:3000/guides/core-concepts/cypress-app#What-you-ll-learn 1) Hero image of Cypress GUI -Load [this test](https://github.com/cypress-io/cypress-example-todomvc/blob/724757df744c499a3596ca45c2c57da3aad371a5/cypress/integration/app_spec.js#L89) +Load [this test](https://github.com/cypress-io/cypress-example-todomvc/blob/master/cypress/e2e/app.cy.js#L89) http://localhost:3000/guides/core-concepts/cypress-app#Finding-Selectors (gif) ```html diff --git a/content/_changelogs/0.11.1.md b/content/_changelogs/0.11.1.md index 8fb6857c6f..1fff7b15fc 100644 --- a/content/_changelogs/0.11.1.md +++ b/content/_changelogs/0.11.1.md @@ -4,7 +4,7 @@ _Released 09/14/2015_ **Bugfixes:** -- Utilizing [`cy.server()`](/api/commands/server) across multiple tests before a +- Utilizing `cy.server()` across multiple tests before a [`cy.visit()`](/api/commands/visit) now works correctly. As a side effect now Cypress will rebind both the `server` and all `routes` **whenever** the remote window is reloaded (for whatever reason) - even during a test itself. This diff --git a/content/_changelogs/0.12.0.md b/content/_changelogs/0.12.0.md index 1b41e5163b..a1e215d38d 100644 --- a/content/_changelogs/0.12.0.md +++ b/content/_changelogs/0.12.0.md @@ -37,7 +37,7 @@ _Released 10/23/2015_ words they will _really_ go out and you'll be able to inspect them just like regular XHRs. - Regular XHR's can now be aliased and waited on without actually being stubbed - by passing `{stub: false}` to the [`cy.route()`](/api/commands/route). + by passing `{stub: false}` to the `cy.route()`. - XHR's will continue to work correctly even _after_ a test ends. In previous versions, due to replacing the entire XHR object, your application would not work correctly after a test ended. This prevented you from "navigating around" @@ -73,16 +73,15 @@ _Released 10/23/2015_ **Bugfixes:** -- Routes no longer display as duplicated in between test runs when - [`cy.server()`](/api/commands/server) is started prior to a - [`cy.visit()`](/api/commands/visit) and you cause a full page refresh, which - caused all routes to be re-bound. +- Routes no longer display as duplicated in between test runs when `cy.server()` + is started prior to a [`cy.visit()`](/api/commands/visit) and you cause a full + page refresh, which caused all routes to be re-bound. - Any issues related to `requestJSON` or `responseJSON` being duplicated are now fixed. Fixes [#65](https://github.com/cypress-io/cypress/issues/65). - Fully Qualified XHR's which should be proxied are now correctly transparently rewritten to prevent CORS problems. -- [`cy.route()`](/api/commands/route) - `onRequest` and `onResponse` callbacks - are now called with `cy` as the context. +- `cy.route()` - `onRequest` and `onResponse` callbacks are now called with `cy` + as the context. - Filtering assets which should never be stubbed has been improved. Now `.jsx` templates pass-through correctly. - CORS Network Errors are now correctly caught. diff --git a/content/_changelogs/0.12.1.md b/content/_changelogs/0.12.1.md index e928c29458..a1bafb0108 100644 --- a/content/_changelogs/0.12.1.md +++ b/content/_changelogs/0.12.1.md @@ -4,10 +4,10 @@ _Released 10/28/2015_ **Bugfixes:** -- [`cy.route()`](/api/commands/route) will no longer throw that a response is - needed when using [`cy.server({stub: false})`](/api/commands/server). -- Applying server defaults to `Cypress.Server.defaults({})` now - [works as documented](/api/cypress-api/cypress-server). +- `cy.route()` will no longer throw that a response is needed when using + `cy.server({stub: false})`. +- Applying server defaults to `Cypress.Server.defaults({})` now works as + documented. - `onRequest` and `onResponse` can now be correctly set as permanent server defaults. - XHR URL is now decoded to make assertions easier. Fixes diff --git a/content/_changelogs/0.12.6.md b/content/_changelogs/0.12.6.md index ebcd813243..24e2b244fe 100644 --- a/content/_changelogs/0.12.6.md +++ b/content/_changelogs/0.12.6.md @@ -20,10 +20,9 @@ _Released 11/29/2015_ which caused the error: `The XHR server is unavailable or missing...`. Fixes [#80](https://github.com/cypress-io/cypress/issues/80) and [#86](https://github.com/cypress-io/cypress/issues/86). -- Prevent accidental mutation of [`cy.server()`](/api/commands/server) options - when [`cy.route()`](/api/commands/route) was provided options. Fixes - [#84](https://github.com/cypress-io/cypress/issues/84) and - [#85](https://github.com/cypress-io/cypress/issues/85). +- Prevent accidental mutation of `cy.server()` options when `cy.route()` was + provided options. Fixes [#84](https://github.com/cypress-io/cypress/issues/84) + and [#85](https://github.com/cypress-io/cypress/issues/85). - Using [`cy.title()`](/api/commands/title) would incorrectly search the `` for title elements, and is now restricted to only searching in the `` diff --git a/content/_changelogs/0.13.2.md b/content/_changelogs/0.13.2.md index 311df21be9..e47a6714ba 100644 --- a/content/_changelogs/0.13.2.md +++ b/content/_changelogs/0.13.2.md @@ -4,9 +4,8 @@ _Released 12/20/2015_ **Notes:** -- Docs have been updated for [`cy.wait()`](/api/commands/wait), - [`cy.route()`](/api/commands/route) and [`cy.server()`](/api/commands/server) - to reflect these changes. +- Docs have been updated for [`cy.wait()`](/api/commands/wait), `cy.route()` and + `cy.server()` to reflect these changes. **Features:** @@ -40,13 +39,12 @@ _Released 12/20/2015_ **Misc:** -- Removed `{stub: false}` option from [`cy.server()`](/api/commands/server) and - [`cy.route()`](/api/commands/route). Cypress will now log a deprecation - warning when you use the this option. Removing this option helps simplify the - API because now Cypress can figure out whether you really want to stub the - route based on whether you've provided a response or not. If you have not - provided a response, the default behavior will be to not stub. If you do - provide a response, Cypress will stub the route. +- Removed `{stub: false}` option from `cy.server()` and `cy.route()`. Cypress + will now log a deprecation warning when you use the this option. Removing this + option helps simplify the API because now Cypress can figure out whether you + really want to stub the route based on whether you've provided a response or + not. If you have not provided a response, the default behavior will be to not + stub. If you do provide a response, Cypress will stub the route. - Repurposed `requestTimeout` to now mean the time we wait for an XHR to be requested. Changed [`cy.request()`](/api/commands/request) to now use `responseTimeout` configuration value. diff --git a/content/_changelogs/0.13.3.md b/content/_changelogs/0.13.3.md index ee3b6b4bf3..f753412ab2 100644 --- a/content/_changelogs/0.13.3.md +++ b/content/_changelogs/0.13.3.md @@ -53,6 +53,5 @@ _Released 12/25/2015_ - Elements which are stringified during errors now indicate their text content (truncated to 10 characters) `` or whether they contain children elements by indicating an ellipsis `
...
`. -- The [Routes instrument panel](/api/commands/route) now displays the column: - `Stubbed` instead of `Status`, which indicates whether a route is stubbing - matching XHR's. +- The Routes instrument panel now displays the column: `Stubbed` instead of + `Status`, which indicates whether a route is stubbing matching XHR's. diff --git a/content/_changelogs/0.13.4.md b/content/_changelogs/0.13.4.md index 33af880cfd..f9c447e141 100644 --- a/content/_changelogs/0.13.4.md +++ b/content/_changelogs/0.13.4.md @@ -33,8 +33,7 @@ _Released 12/31/2015_ **Misc:** -- The default behavior of [`cy.server()`](/api/commands/server) has changed from - `force404: true` to become `force404: false`. In other words, Cypress will no - longer forcibly send XHR's to 404 status when these XHR's do not match any - existing [`cy.route()`](/api/commands/route). This change better aligns with - predictable usage for most Cypress users. +- The default behavior of `cy.server()` has changed from `force404: true` to + become `force404: false`. In other words, Cypress will no longer forcibly send + XHR's to 404 status when these XHR's do not match any existing `cy.route()`. + This change better aligns with predictable usage for most Cypress users. diff --git a/content/_changelogs/0.13.6.md b/content/_changelogs/0.13.6.md index 7d876be662..347bbbdf7c 100644 --- a/content/_changelogs/0.13.6.md +++ b/content/_changelogs/0.13.6.md @@ -7,8 +7,8 @@ _Released 01/09/2016_ - All commands now retry if the associated element is disabled until the element is no longer disabled. If the command times out a specific error message is now thrown. -- [`cy.server()`](/api/commands/server) and [`cy.route()`](/api/commands/route) - now take an optional `onAbort` callback which fires anytime an XHR is aborted. +- `cy.server()` and `cy.route()` now take an optional `onAbort` callback which + fires anytime an XHR is aborted. **Bugfixes:** diff --git a/content/_changelogs/0.16.2.md b/content/_changelogs/0.16.2.md index ebd9113fa6..b465a364bf 100644 --- a/content/_changelogs/0.16.2.md +++ b/content/_changelogs/0.16.2.md @@ -24,9 +24,9 @@ _Released 06/11/2016_ - Added new [`.each()`](/api/commands/each) command which iterates serially on a collection yielding the iteratee, the index, and the collection. Addresses [#156](https://github.com/cypress-io/cypress/issues/156). -- [`cy.route()`](/api/commands/route) can now accept a single function and/or - you can pass a function to the `response` property. This allows you to lazily - evaluate routing responses. Great for referencing fixtures. Addresses +- `cy.route()` can now accept a single function and/or you can pass a function + to the `response` property. This allows you to lazily evaluate routing + responses. Great for referencing fixtures. Addresses [#152](https://github.com/cypress-io/cypress/issues/152). - [`cy.contains()`](/api/commands/contains) now accepts a regular expression. Addresses [#158](https://github.com/cypress-io/cypress/issues/158). diff --git a/content/_changelogs/0.16.3.md b/content/_changelogs/0.16.3.md index ae5930bb60..cb80c8a12b 100644 --- a/content/_changelogs/0.16.3.md +++ b/content/_changelogs/0.16.3.md @@ -4,7 +4,7 @@ _Released 06/17/2016_ **Features:** -- [`cy.route()`](/api/commands/route) now accepts string glob patterns using +- `cy.route()` now accepts string glob patterns using [minimatch](https://github.com/isaacs/minimatch) under the hood. This means you can more easily route dynamic urls without using `regex`. Example: `cy.route('POST', '/users/*/comments', {})`. @@ -43,9 +43,8 @@ _Released 06/17/2016_ **Misc:** -- [`Cypress.Server.defaults()`](/api/cypress-api/cypress-server) now accepts a - `urlMatchingOptions` option for passing options to - [minimatch](https://github.com/isaacs/minimatch). +- `Cypress.Server.defaults()` now accepts a `urlMatchingOptions` option for + passing options to [minimatch](https://github.com/isaacs/minimatch). - [cypress run](/guides/guides/command-line#cypress-run) now exits with the number of test failures instead of always exiting with 0. This matches the same way `cypress ci` works. Fixes diff --git a/content/_changelogs/0.18.5.md b/content/_changelogs/0.18.5.md index a6616516f8..c7c6d1977a 100644 --- a/content/_changelogs/0.18.5.md +++ b/content/_changelogs/0.18.5.md @@ -22,6 +22,5 @@ _Released 01/08/2017_ - Enable [`cy.fixture()`](/api/commands/fixture) to send an encoding for images other than forcing the default encoding of `base64`. Fixes [#373](https://github.com/cypress-io/cypress/issues/373). -- Enable [`cy.route()`](/api/commands/route) to pass an `encoding` parameter - when using `fx:fixture` syntax. Fixes - [#374](https://github.com/cypress-io/cypress/issues/374). +- Enable `cy.route()` to pass an `encoding` parameter when using `fx:fixture` + syntax. Fixes [#374](https://github.com/cypress-io/cypress/issues/374). diff --git a/content/_changelogs/0.19.0.md b/content/_changelogs/0.19.0.md index 578a7b711f..4c3ea85fc7 100644 --- a/content/_changelogs/0.19.0.md +++ b/content/_changelogs/0.19.0.md @@ -8,7 +8,7 @@ _Released 02/11/2017_ [CI Docs](/guides/continuous-integration/introduction) got a much needed facelift. - There is a new docs section related to the - [Dashboard](/guides/dashboard/introduction) and the new features. + [Dashboard](/guides/cloud/introduction) and the new features. **Overview:** diff --git a/content/_changelogs/0.20.0.md b/content/_changelogs/0.20.0.md index aecf4cf429..c058a99f69 100644 --- a/content/_changelogs/0.20.0.md +++ b/content/_changelogs/0.20.0.md @@ -195,12 +195,12 @@ _Released 09/10/2017_ - Updated [Cypress.Promise](/api/utilities/promise) (which is Bluebird) from version `2.9.25` to `3.5.0` -- Updated [chai](/guides/references/bundled-tools#Chai) from version `1.9.2` to - `3.5.0` -- Updated [sinon](/guides/references/bundled-tools#Sinon) from version `1.x` to - `3.2.0` +- Updated [chai](/guides/references/bundled-libraries#Chai) from version `1.9.2` + to `3.5.0` +- Updated [sinon](/guides/references/bundled-libraries#Sinon-JS) from version + `1.x` to `3.2.0` - Updated [jQuery](/api/utilities/$) from version `2.1.4` to `2.2.4`. -- Removed [chai-jQuery](/guides/references/bundled-tools#Chai-jQuery) and +- Removed [chai-jQuery](/guides/references/bundled-libraries#Chai-jQuery) and rewrote it from scratch. **Deprecations:** @@ -222,10 +222,10 @@ _Released 09/10/2017_ - Fixed busted internal timers that caused random timeouts, proxy errors, incorrect delays, and long pauses when loading the GUI. Fixes [#572](https://github.com/cypress-io/cypress/issues/572). -- [cy.route()](/api/commands/route) now matches requests opened with lowercase - methods. Fixes [#607](https://github.com/cypress-io/cypress/issues/607). -- Fixed regression where multiple uses of [`cy.server()`](/api/commands/server) - in a `before` hook was throwing an error. Fixes +- `cy.route()` now matches requests opened with lowercase methods. Fixes + [#607](https://github.com/cypress-io/cypress/issues/607). +- Fixed regression where multiple uses of `cy.server()` in a `before` hook was + throwing an error. Fixes [#80](https://github.com/cypress-io/cypress/issues/80) and [#510](https://github.com/cypress-io/cypress/issues/510) and [#595](https://github.com/cypress-io/cypress/issues/595). @@ -399,8 +399,8 @@ Note: we are still updating all of the docs to reflect all the 0.20.0 changes. - [New "cy.scrollTo()"](/api/commands/scrollto) - [New ".scrollIntoView()"](/api/commands/scrollintoview) - [Updated "Installing Cypress"](/guides/getting-started/installing-cypress) -- [Updated "Writing Your First Test"](/guides/getting-started/writing-your-first-test) -- [Updated "Testing Your App"](/guides/getting-started/testing-your-app) +- [Updated "Writing Your First Test"](/guides/end-to-end-testing/writing-your-first-end-to-end-test) +- [Updated "Testing Your App"](/guides/end-to-end-testing/testing-your-app) - [Updated "Command Line"](/guides/guides/command-line) - [Updated "Debugging"](/guides/guides/debugging) - [Updated "Assertions"](/guides/references/assertions) diff --git a/content/_changelogs/0.3.3.md b/content/_changelogs/0.3.3.md index 8887911409..45a896809d 100644 --- a/content/_changelogs/0.3.3.md +++ b/content/_changelogs/0.3.3.md @@ -5,13 +5,11 @@ _Released 03/18/2015_ **Features:** - Filtered out Ajax requests for `.js`, `.html`, `.css` files by default. -- [`cy.server()`](/api/commands/server) can configure whether this is turned on - or off. +- `cy.server()` can configure whether this is turned on or off. **Bugfixes:** -- Prevent [`cy.server()`](/api/commands/server) from slurping up Angular async - template GETs. +- Prevent `cy.server()` from slurping up Angular async template GETs. **Misc:** diff --git a/content/_changelogs/0.4.3.md b/content/_changelogs/0.4.3.md index 3089cab51c..0721e07d66 100644 --- a/content/_changelogs/0.4.3.md +++ b/content/_changelogs/0.4.3.md @@ -4,11 +4,10 @@ _Released 04/09/2015_ **Features:** -- Added functionality which enables [`cy.server()`](/api/commands/server) and - [`cy.route()`](/api/commands/route) to be created prior to - [`cy.visit()`](/api/commands/visit). The server and routes will apply to the - next page which is visited. This allows you to stub requests which happen on - page load. Suggested in +- Added functionality which enables `cy.server()` and `cy.route()` to be created + prior to [`cy.visit()`](/api/commands/visit). The server and routes will apply + to the next page which is visited. This allows you to stub requests which + happen on page load. Suggested in [#17](https://github.com/cypress-io/cypress/issues/17). - [`cy.visit()`](/api/commands/visit) now takes an optional `onBeforeLoad` callback option which is invoked when your page begins to ender but prior to diff --git a/content/_changelogs/0.4.4.md b/content/_changelogs/0.4.4.md index 6eff889b64..61eaf22dae 100644 --- a/content/_changelogs/0.4.4.md +++ b/content/_changelogs/0.4.4.md @@ -12,5 +12,5 @@ _Released 04/09/2015_ - Improved error messages for traversal failures. Errors now include the parent context DOM element. Fixes [#11](https://github.com/cypress-io/cypress/issues/11). -- Improved error messages for invalid [`cy.route()`](/api/commands/route) - arguments. Fixes [#20](https://github.com/cypress-io/cypress/issues/20). +- Improved error messages for invalid `cy.route()` arguments. Fixes + [#20](https://github.com/cypress-io/cypress/issues/20). diff --git a/content/_changelogs/0.5.10.md b/content/_changelogs/0.5.10.md index ae6b38badc..6e2e214610 100644 --- a/content/_changelogs/0.5.10.md +++ b/content/_changelogs/0.5.10.md @@ -4,15 +4,14 @@ _Released 04/28/2015_ **Features:** -- [`cy.server()`](/api/commands/server) now accepts a `delay` option which will - delay all responses to requests (including 404) based on the value in ms -- [`cy.server()`](/api/commands/server) now accepts a `respond` option which can - turn off automatic responding to requests. -- [`cy.route()`](/api/commands/route) now accepts a `delay` option which - overrides the delay option set in [`cy.server()`](/api/commands/server) to - just matched requests. -- [`cy.route()`](/api/commands/route) now accepts a `respond` option which will - turn off automatic responding to just matched requests. +- `cy.server()` now accepts a `delay` option which will delay all responses to + requests (including 404) based on the value in ms +- `cy.server()` now accepts a `respond` option which can turn off automatic + responding to requests. +- `cy.route()` now accepts a `delay` option which overrides the delay option set + in `cy.server()` to just matched requests. +- `cy.route()` now accepts a `respond` option which will turn off automatic + responding to just matched requests. - Fixes [#14](https://github.com/cypress-io/cypress/issues/14). - [`cy.wait()`](/api/commands/wait) now accepts an alias property called `request`. Example: `cy.wait('@getUsers.request')` which ill resolve once the diff --git a/content/_changelogs/0.7.0.md b/content/_changelogs/0.7.0.md index e7c4c2bb35..93a080fb69 100644 --- a/content/_changelogs/0.7.0.md +++ b/content/_changelogs/0.7.0.md @@ -14,9 +14,9 @@ _Released 06/15/2015_ - Fixtures are automatically formatted / indented for easy debugging. - Example fixture is automatically created with every project. - Example support files are now automatically created with every project. -- [`cy.route()`](/api/commands/route) now accepts an **alias** as its response. -- [`cy.route()`](/api/commands/route) additionally accepts a special `fixture:` - or `fx:` keyword which automatically loads the fixture as the response. +- `cy.route()` now accepts an **alias** as its response. +- `cy.route()` additionally accepts a special `fixture:` or `fx:` keyword which + automatically loads the fixture as the response. **Bugfixes:** diff --git a/content/_changelogs/0.7.4.md b/content/_changelogs/0.7.4.md index f5ca1da254..49a9840397 100644 --- a/content/_changelogs/0.7.4.md +++ b/content/_changelogs/0.7.4.md @@ -8,7 +8,7 @@ _Released 06/18/2015_ throw an error. The error guides you to using the [`.select()`](/api/commands/select) command, as that is the command you should use to change a `` element in the form, + rather than every child. Fixes + [#25019](https://github.com/cypress-io/cypress/issues/25019) diff --git a/content/_changelogs/12.1.0.md b/content/_changelogs/12.1.0.md new file mode 100644 index 0000000000..1d8862365e --- /dev/null +++ b/content/_changelogs/12.1.0.md @@ -0,0 +1,44 @@ +## 12.1.0 + +_Released 12/12/2022_ + +**Features:** + +- Added [`cy.getAllCookies()`](/api/commands/getallcookies) and + [`cy.clearAllCookies()`](/api/commands/clearallcookies), which get and clear + cookies for all browser cookies across any domains. Addresses + [#24265](https://github.com/cypress-io/cypress/issues/24265), + [#8956](https://github.com/cypress-io/cypress/issues/8956), and + [#408](https://github.com/cypress-io/cypress/issues/408). +- Updated the error messaging to provide more context when parallel group + parameters are mismatched when sent to the Cypress Cloud. Fixes + [#24734](https://github.com/cypress-io/cypress/issues/24734). + +**Bugfixes:** + +- Fixed an issue with the `cy.session` command where it now recollects the + session data after validation is successful to correctly store the full + browser context before the command ends. Addressed with + [#25112](https://github.com/cypress-io/cypress/pull/25112). +- Fixed an issue where recent versions of Firefox in headless mode would behave + inconsistently with headed. Fixes + [#24900](https://github.com/cypress-io/cypress/issues/24900). +- Fixed an issue where [`.select(index)`](/api/commands/select#Index) would fail + when multiple `