Lint fix
This commit is contained in:
parent
b4b6e93c0f
commit
f2371ca691
|
|
@ -296,10 +296,10 @@ Ensures the page is navigated to the given URL.
|
|||
**Usage**
|
||||
|
||||
```js
|
||||
// Check for the page URL to be "https://playwright.dev/docs/intro" (including query string)
|
||||
await expect(page).toHaveURL("https://playwright.dev/docs/intro");
|
||||
// Check for the page URL to be 'https://playwright.dev/docs/intro' (including query string)
|
||||
await expect(page).toHaveURL('https://playwright.dev/docs/intro');
|
||||
|
||||
// Check for the page URL to contain "doc", followed by an optional "s", followed by "/"
|
||||
// Check for the page URL to contain 'doc', followed by an optional 's', followed by '/'
|
||||
await expect(page).toHaveURL(/docs?\//);
|
||||
|
||||
// Check for the predicate to be satisfied
|
||||
|
|
|
|||
6
packages/playwright/types/test.d.ts
vendored
6
packages/playwright/types/test.d.ts
vendored
|
|
@ -8902,10 +8902,10 @@ interface PageAssertions {
|
|||
* **Usage**
|
||||
*
|
||||
* ```js
|
||||
* // Check for the page URL to be "https://playwright.dev/docs/intro" (including query string)
|
||||
* await expect(page).toHaveURL("https://playwright.dev/docs/intro");
|
||||
* // Check for the page URL to be 'https://playwright.dev/docs/intro' (including query string)
|
||||
* await expect(page).toHaveURL('https://playwright.dev/docs/intro');
|
||||
*
|
||||
* // Check for the page URL to contain "doc", followed by an optional "s", followed by "/"
|
||||
* // Check for the page URL to contain 'doc', followed by an optional 's', followed by '/'
|
||||
* await expect(page).toHaveURL(/docs?\//);
|
||||
*
|
||||
* // Check for the predicate to be satisfied
|
||||
|
|
|
|||
Loading…
Reference in a new issue