From 5b8505c7d7b4b5cce9c0734527d28d2511f91d7b Mon Sep 17 00:00:00 2001 From: Zach Bloomquist Date: Mon, 26 Aug 2019 12:45:32 -0400 Subject: [PATCH] Add cy.visit() qs option --- source/api/commands/visit.md | 1 + 1 file changed, 1 insertion(+) diff --git a/source/api/commands/visit.md b/source/api/commands/visit.md index ffd7ff08a2..7e8a054c5d 100644 --- a/source/api/commands/visit.md +++ b/source/api/commands/visit.md @@ -44,6 +44,7 @@ Option | Default | Description `method` | `GET` | The HTTP method to use in the visit. Can be `GET` or `POST`. `body` | `null` | An optional body to send along with a `POST` request. If it is a string, it will be passed along unmodified. If it is an object, it will be URL encoded to a string and sent with a `Content-Type: application/x-www-urlencoded` header. `headers` | `{}` | An object that maps HTTP header names to values to be sent along with the request. *Note:* `headers` will only be sent for the initial `cy.visit()` request, not for any subsequent requests. +`qs` | `null` | Query parameters to append to the `url` of the request `log` | `true` | {% usage_options log %} `auth` | `null` | Adds Basic Authorization headers `failOnStatusCode` | `true` | Whether to fail on response codes other than `2xx` and `3xx`