Skip to content

Commit

Permalink
Merge branch 'main' into docs-api-commands-fixture-global-this
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandroide committed Apr 11, 2023
2 parents 6c8c585 + 55eac7d commit 135a7f1
Show file tree
Hide file tree
Showing 56 changed files with 334 additions and 276 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions docs/api/commands/clearallsessionstorage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ data for all origins with which the test has interacted.

:::caution

Cypress automatically runs this command _before_ each test to prevent state from
being shared across tests when
Cypress automatically clears all session storage _before_ each test to prevent
state from being shared across tests when
[test isolation](/guides/core-concepts/writing-and-organizing-tests#Test-Isolation)
is `on`. You shouldn't need to use this command unless you're using it to clear
localStorage inside a single test or test isolation is `off`.
is enabled. You shouldn't need to use this command unless you're using it to
clear sessionStorage inside a single test or test isolation is disabled.

:::

Expand Down
9 changes: 9 additions & 0 deletions docs/api/cypress-api/custom-commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ Cypress comes with its own API for creating custom commands and overwriting
existing commands. The built in Cypress commands use the very same API that's
defined below.

There are two API available for adding custom commands:

- [`Cypress.Commands.add()`](#Syntax) - use to add a custom command to use when
writing tests
- [`Cypress.Command.overwrite()`](#Overwrite-Existing-Commands) - use to
override an existing built-in Cypress command or reserved internal function.
**Caution:** this overrides it for Cypress as well and could impact how
Cypress behaves.

:::info

If you want your method to have builtin
Expand Down
11 changes: 7 additions & 4 deletions docs/guides/cloud/organizations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,14 @@ addition to the documentation below, refer to the Microsoft Guides for
🎉 Your integration is now complete! You can invite all of the users in your
organization to sign in through your SSO provider.

#### **Notes**
#### Notes

- Once SSO is set up in Cypress Cloud, Users should be invited via your SSO
provider, not Cypress Cloud.
- Once SSO is successfully set up, users will need to be invited via your SSO
provider, as the Cypress Cloud invitation option will be disabled.
- All SSO Users are initially added with the
[User Role](https://on.cypress.io/users#User-roles) of Member. If a User needs
[User Role](/guides/cloud/users#User-roles) of Member. If a User needs
different User Role permissions, this can be changed via Cypress Cloud by a
current member with the role of Owner or Admin.
- SSO users are separate accounts from Google/GitHub or email/password users. If
there are duplicate users, duplicates can be removed by any
[Owner or Admin](/guides/cloud/users#User-roles).
Loading

0 comments on commit 135a7f1

Please sign in to comment.