(page: Page)
| 2 | import { EDITOR_SELECTOR } from "./const.js"; |
| 3 | |
| 4 | export async function focusOnEditor(page: Page) { |
| 5 | await page.waitForSelector(EDITOR_SELECTOR); |
| 6 | await page.click(EDITOR_SELECTOR); |
| 7 | } |
| 8 | |
| 9 | export async function waitForSelectorInEditor(page: Page, selector: string) { |
| 10 | const editor = page.locator(EDITOR_SELECTOR); |
no outgoing calls
no test coverage detected