From f2371ca691079c9bba7d7076434649b2761c22d0 Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Wed, 26 Feb 2025 11:00:06 -0800 Subject: [PATCH] Lint fix --- docs/src/api/class-pageassertions.md | 6 +++--- packages/playwright/types/test.d.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/src/api/class-pageassertions.md b/docs/src/api/class-pageassertions.md index 271c51812c..ef8c7d4f6e 100644 --- a/docs/src/api/class-pageassertions.md +++ b/docs/src/api/class-pageassertions.md @@ -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 diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts index 7b274b8f00..e49dac0a2d 100644 --- a/packages/playwright/types/test.d.ts +++ b/packages/playwright/types/test.d.ts @@ -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