(page: Page, displayName: string)
| 90 | } |
| 91 | |
| 92 | export async function doubleClickOnNode(page: Page, displayName: string) { |
| 93 | const position = await getNodePosition(page, displayName); |
| 94 | await page.locator('canvas').nth(1).dblclick({ position }); |
| 95 | } |
| 96 | |
| 97 | /** Click the first node normally, then Shift-click the rest to multi-select. */ |
| 98 | export async function clickOnNodes(page: Page, displayNames: string[]) { |