From d073f0c5571539828f416e4133f7df33648d62c6 Mon Sep 17 00:00:00 2001 From: Chris Breiding Date: Tue, 15 Nov 2022 11:37:41 -0500 Subject: [PATCH] update cookie domain option description --- content/api/commands/clearcookie.md | 2 +- content/api/commands/clearcookies.md | 2 +- content/api/commands/getcookie.md | 2 +- content/api/commands/getcookies.md | 2 +- content/api/commands/setcookie.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/api/commands/clearcookie.md b/content/api/commands/clearcookie.md index 1d2d198c30..b6fe92896c 100644 --- a/content/api/commands/clearcookie.md +++ b/content/api/commands/clearcookie.md @@ -39,7 +39,7 @@ Pass in an options object to change the default behavior of `cy.clearCookie()`. | Option | Default | Description | | --------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `domain` | Superdomain of the current URL | Clears the cookie from the specified domain | +| `domain` | Hostname of the current URL | Clears the cookie from the specified domain | | `log` | `true` | Displays the command in the [Command log](/guides/core-concepts/cypress-app#Command-Log) | | `timeout` | [`responseTimeout`](/guides/references/configuration#Timeouts) | Time to wait for `cy.clearCookie()` to resolve before [timing out](#Timeouts) | diff --git a/content/api/commands/clearcookies.md b/content/api/commands/clearcookies.md index 46a50a1c88..b3c2911b26 100644 --- a/content/api/commands/clearcookies.md +++ b/content/api/commands/clearcookies.md @@ -35,7 +35,7 @@ Pass in an options object to change the default behavior of `cy.clearCookies()`. | Option | Default | Description | | --------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `domain` | Superdomain of the current URL | Clears the cookies from the specified domain | +| `domain` | Hostname of the current URL | Clears the cookies from the specified domain | | `log` | `true` | Displays the command in the [Command log](/guides/core-concepts/cypress-app#Command-Log) | | `timeout` | [`responseTimeout`](/guides/references/configuration#Timeouts) | Time to wait for `cy.clearCookies()` to resolve before [timing out](#Timeouts) | diff --git a/content/api/commands/getcookie.md b/content/api/commands/getcookie.md index 4222b4121f..42e77abe17 100644 --- a/content/api/commands/getcookie.md +++ b/content/api/commands/getcookie.md @@ -31,7 +31,7 @@ Pass in an options object to change the default behavior of `cy.getCookie()`. | Option | Default | Description | | --------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `domain` | Superdomain of the current URL | Retrieves the cookie from the specified domain | +| `domain` | Hostname of the current URL | Retrieves the cookie from the specified domain | | `log` | `true` | Displays the command in the [Command log](/guides/core-concepts/cypress-app#Command-Log) | | `timeout` | [`responseTimeout`](/guides/references/configuration#Timeouts) | Time to wait for `cy.getCookie()` to resolve before [timing out](#Timeouts) | diff --git a/content/api/commands/getcookies.md b/content/api/commands/getcookies.md index af83e8a677..ffcfba3946 100644 --- a/content/api/commands/getcookies.md +++ b/content/api/commands/getcookies.md @@ -27,7 +27,7 @@ Pass in an options object to change the default behavior of `cy.getCookies()`. | Option | Default | Description | | --------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `domain` | Superdomain of the current URL | Retrieves the cookies from the specified domain | +| `domain` | Hostname of the current URL | Retrieves the cookies from the specified domain | | `log` | `true` | Displays the command in the [Command log](/guides/core-concepts/cypress-app#Command-Log) | | `timeout` | [`responseTimeout`](/guides/references/configuration#Timeouts) | Time to wait for `cy.getCookies()` to resolve before [timing out](#Timeouts) | diff --git a/content/api/commands/setcookie.md b/content/api/commands/setcookie.md index 99ff00c842..4ff392e2e6 100644 --- a/content/api/commands/setcookie.md +++ b/content/api/commands/setcookie.md @@ -36,7 +36,7 @@ Pass in an options object to change the default behavior of `cy.setCookie()`. | Option | Default | Description | | ---------- | -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `log` | `true` | Displays the command in the [Command log](/guides/core-concepts/cypress-app#Command-Log) | -| `domain` | Superdomain of the current URL | The domain the cookie is visible to | +| `domain` | Hostname of the current URL | The domain the cookie is visible to | | `expiry` | 20 years into the future | When the cookie expires, specified in seconds since [Unix Epoch](https://en.wikipedia.org/wiki/Unix_time). | | `httpOnly` | `false` | Whether the cookie is an HTTP only cookie | | `path` | `/` | The cookie path |