(page: Page)
| 3 | import { focusOnEditor } from "./editor.js"; |
| 4 | |
| 5 | export async function copyPaste(page: Page) { |
| 6 | await page.keyboard.press(`ControlOrMeta+C`); |
| 7 | // Exit out of any menus/toolbars which may block the trailing block. |
| 8 | await page.keyboard.press(`Escape`); |
| 9 | await page.locator(".bn-trailing-block").click(); |
| 10 | await page.keyboard.press(`ControlOrMeta+V`); |
| 11 | } |
| 12 | |
| 13 | export async function copyPasteAll(page: Page) { |
| 14 | await page.keyboard.press(`ControlOrMeta+A`); |
no outgoing calls
no test coverage detected