(page: Page, title: string)
| 3236 | test.describe('Issue #1337 - Convert note to task default values', () => { |
| 3237 | // Helper to create a test note for conversion |
| 3238 | async function createTestNoteForConversion(page: Page, title: string): Promise<void> { |
| 3239 | // Create a new note via command |
| 3240 | await runCommand(page, 'Create new note'); |
| 3241 | await page.waitForTimeout(500); |
| 3242 | |
| 3243 | // Type the title if a prompt appears |
| 3244 | const promptInput = page.locator('.prompt-input'); |
| 3245 | if (await promptInput.isVisible({ timeout: 2000 }).catch(() => false)) { |
| 3246 | await promptInput.fill(title); |
| 3247 | await page.keyboard.press('Enter'); |
| 3248 | await page.waitForTimeout(500); |
| 3249 | } |
| 3250 | } |
| 3251 | |
| 3252 | // Helper to update plugin settings via the data.json approach |
| 3253 | async function getPluginSettings(page: Page): Promise<any> { |
nothing calls this directly
no test coverage detected