(
page: Page,
shot: {clicks?: string[]; framed: boolean},
)
| 71 | }; |
| 72 | |
| 73 | const performDocShotClicks = async ( |
| 74 | page: Page, |
| 75 | shot: {clicks?: string[]; framed: boolean}, |
| 76 | ): Promise<void> => { |
| 77 | for (const selector of shot.clicks ?? []) { |
| 78 | const locator = shot.framed |
| 79 | ? page.frameLocator('iframe').first().locator(selector).first() |
| 80 | : page.locator(selector).first(); |
| 81 | await locator.waitFor(); |
| 82 | await locator.click(); |
| 83 | } |
| 84 | }; |
| 85 | |
| 86 | const waitForDocShotReady = async ( |
| 87 | page: Page, |
no outgoing calls
no test coverage detected
searching dependent graphs…