Skip to content

Commit

Permalink
Update cookie commands domain option description (#4861)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbreiding authored and debrisapron committed Dec 6, 2022
1 parent 648aa50 commit 77d5db3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion content/api/commands/clearcookie.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |

Expand Down
2 changes: 1 addition & 1 deletion content/api/commands/clearcookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |

Expand Down
2 changes: 1 addition & 1 deletion content/api/commands/getcookie.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |

Expand Down
2 changes: 1 addition & 1 deletion content/api/commands/getcookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |

Expand Down
2 changes: 1 addition & 1 deletion content/api/commands/setcookie.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 77d5db3

Please sign in to comment.