( route: string, testId: string, aimockPort: number, )
| 1 | import { expect, type Locator, type Page } from '@playwright/test' |
| 2 | |
| 3 | export function devtoolsUrl( |
| 4 | route: string, |
| 5 | testId: string, |
| 6 | aimockPort: number, |
| 7 | ): string { |
| 8 | return `${route}?testId=${encodeURIComponent(testId)}&aimockPort=${aimockPort}` |
| 9 | } |
| 10 | |
| 11 | export async function waitForDevtoolsHarness(page: Page) { |
| 12 | await expect(page.getByTestId('devtools-hydrated')).toBeAttached() |
no outgoing calls
no test coverage detected