(page: Page, hookName: string)
| 65 | } |
| 66 | |
| 67 | export async function runGenerationHook(page: Page, hookName: string) { |
| 68 | await waitForDevtoolsHarness(page) |
| 69 | const card = generationCard(page, hookName) |
| 70 | await card.getByTestId(`run-${hookName}`).click() |
| 71 | await expect(card.getByTestId('generation-hook-status')).toHaveText('success') |
| 72 | } |
| 73 | |
| 74 | export async function waitForAllGenerationHooks(page: Page, outputCount = 1) { |
| 75 | const cards = page.getByTestId('generation-hook-card') |
nothing calls this directly
no test coverage detected