Skip to content

Commit

Permalink
docs(assertions): document options in url.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Oct 21, 2023
1 parent de433be commit 0c2ea6b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/assertions/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ import { getOptions } from '../utils';
* Then I see URL "http://localhost:8080/index.html"
* ```
*
* With [options](https://docs.cypress.io/api/commands/url#Arguments):
*
* ```gherkin
* Then I see URL "/"
* | decode | false |
* | log | true |
* | timeout | 4000 |
* ```
*
* @see
*
* - {@link Then_I_see_URL_contains | Then I see URL contains}
Expand Down Expand Up @@ -55,6 +64,15 @@ Then('I see URL {string}', Then_I_see_URL);
* Then I see URL contains "http://localhost:8080/index.html"
* ```
*
* With [options](https://docs.cypress.io/api/commands/url#Arguments):
*
* ```gherkin
* Then I see URL contains "/"
* | decode | false |
* | log | true |
* | timeout | 4000 |
* ```
*
* @see
*
* - {@link Then_I_see_URL | Then I see URL}
Expand Down Expand Up @@ -86,6 +104,15 @@ Then('I see URL contains {string}', Then_I_see_URL_contains);
* Then I do not see URL "http://localhost:8080/index.html"
* ```
*
* With [options](https://docs.cypress.io/api/commands/url#Arguments):
*
* ```gherkin
* Then I do not see URL "/"
* | decode | false |
* | log | true |
* | timeout | 4000 |
* ```
*
* @see
*
* - {@link Then_I_do_not_see_URL_contains | Then I do not see URL contains}
Expand Down Expand Up @@ -118,6 +145,15 @@ Then('I do not see URL {string}', Then_I_do_not_see_URL);
* Then I do not see URL contains "http://localhost:8080/index.html"
* ```
*
* With [options](https://docs.cypress.io/api/commands/url#Arguments):
*
* ```gherkin
* Then I do not see URL contains "/"
* | decode | false |
* | log | true |
* | timeout | 4000 |
* ```
*
* @see
*
* - {@link Then_I_do_not_see_URL | Then I do not see URL}
Expand Down

0 comments on commit 0c2ea6b

Please sign in to comment.