(page: Page)
| 120 | } |
| 121 | |
| 122 | async function focusMonacoEditor(page: Page): Promise<void> { |
| 123 | await page.locator(".monaco-editor").waitFor({ timeout: 30_000 }); |
| 124 | await page.locator(".view-lines").waitFor({ timeout: 15_000 }); |
| 125 | await page.locator(".monaco-editor textarea.inputarea").waitFor({ state: "attached", timeout: 5_000 }); |
| 126 | await page.locator(".monaco-editor textarea.inputarea").focus(); |
| 127 | } |
| 128 | |
| 129 | async function waitForSavedScriptInList(context: BrowserContext, extensionId: string): Promise<void> { |
| 130 | const listPage = await openOptionsPage(context, extensionId); |
no test coverage detected