Skip to content

Commit

Permalink
update experimental warning for session to reflect async/attach chang… (
Browse files Browse the repository at this point in the history
#4796)

* update experimental warning for session to reflect async/attach changes in 10.9.0

* Update content/api/commands/session.md

Co-authored-by: Matt Henkes <[email protected]>

Co-authored-by: Matt Henkes <[email protected]>
  • Loading branch information
AtofStryker and mjhenkes authored Oct 19, 2022
1 parent 2ec7f63 commit f52dcc9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions content/api/commands/session.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ Enabling this flag does the following:
[`testIsolation=legacy`](/guides/core-concepts/writing-and-organizing-tests#Test-Isolation).
- All active session data (cookies, `localStorage` and `sessionStorage`)
across all domains are cleared.
- It overrides the
[`Cypress.Cookies.preserveOnce()`](/api/cypress-api/cookies#Preserve-Once) and
[`Cypress.Cookies.defaults()`](/api/cypress-api/cookies#Defaults) methods.
- Cross-origin navigation will no longer fail immediately, but instead, time out
based on [`pageLoadTimeout`](/guides/references/configuration#Timeouts).
- Tests will no longer wait on page loads before moving on to the next test.
- It supersedes
the [`Cypress.Cookies.preserveOnce()`](/api/cypress-api/cookies#Preserve-Once) and
[`Cypress.Cookies.defaults()`](/api/cypress-api/cookies#Defaults) methods.
- Cross-origin requests will now succeed, however, to interact with a
cross-origin page you must use a `cy.origin` block.

Because the page is cleared at the beginning of each test,
[`cy.visit()`](/api/commands/visit) must be explicitly called at the beginning
Expand Down

1 comment on commit f52dcc9

@vercel
Copy link

@vercel vercel bot commented on f52dcc9 Oct 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.