Skip to content

Commit 135a7f1

Browse files
authored
Merge branch 'main' into docs-api-commands-fixture-global-this
2 parents 6c8c585 + 55eac7d commit 135a7f1

File tree

56 files changed

+334
-276
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+334
-276
lines changed

readme.md renamed to README.md

File renamed without changes.

docs/api/commands/clearallsessionstorage.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ data for all origins with which the test has interacted.
88

99
:::caution
1010

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

1717
:::
1818

docs/api/cypress-api/custom-commands.mdx

+9
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ Cypress comes with its own API for creating custom commands and overwriting
77
existing commands. The built in Cypress commands use the very same API that's
88
defined below.
99

10+
There are two API available for adding custom commands:
11+
12+
- [`Cypress.Commands.add()`](#Syntax) - use to add a custom command to use when
13+
writing tests
14+
- [`Cypress.Command.overwrite()`](#Overwrite-Existing-Commands) - use to
15+
override an existing built-in Cypress command or reserved internal function.
16+
**Caution:** this overrides it for Cypress as well and could impact how
17+
Cypress behaves.
18+
1019
:::info
1120

1221
If you want your method to have builtin

docs/guides/cloud/organizations.mdx

+7-4
Original file line numberDiff line numberDiff line change
@@ -336,11 +336,14 @@ addition to the documentation below, refer to the Microsoft Guides for
336336
🎉 Your integration is now complete! You can invite all of the users in your
337337
organization to sign in through your SSO provider.
338338

339-
#### **Notes**
339+
#### Notes
340340

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

0 commit comments

Comments
 (0)