(page: Page, names: Array<string>)
| 41 | } |
| 42 | |
| 43 | export async function expectHookNames(page: Page, names: Array<string>) { |
| 44 | await expect(hookRows(page)).toHaveCount(names.length) |
| 45 | for (const name of names) { |
| 46 | await expect(hookRow(page, name)).toBeVisible() |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | export async function expectNoHookName(page: Page, name: string) { |
| 51 | await expect(hookRows(page).filter({ hasText: name })).toHaveCount(0) |
no test coverage detected