(page: Page, count: number, tab: string)
| 80 | } |
| 81 | |
| 82 | export async function testState(page: Page, count: number, tab: string) { |
| 83 | |
| 84 | await expect(page.locator('#tabs-state')).toHaveText(`${count}.${tab}`); |
| 85 | } |
| 86 | |
| 87 | export async function testUrlContains(page: Page, urlFragment: string) { |
| 88 | // Escape special regex characters in the URL fragment |