(page: Page)
| 459 | test.describe('Settings', () => { |
| 460 | // Helper to open TaskNotes settings |
| 461 | async function openTaskNotesSettings(page: Page): Promise<void> { |
| 462 | await page.keyboard.press('Control+,'); |
| 463 | await page.waitForTimeout(500); |
| 464 | |
| 465 | const settingsModal = page.locator('.modal.mod-settings'); |
| 466 | await expect(settingsModal).toBeVisible({ timeout: 5000 }); |
| 467 | |
| 468 | const tasknotesTab = page.locator('.vertical-tab-nav-item:has-text("TaskNotes")'); |
| 469 | if (await tasknotesTab.isVisible()) { |
| 470 | await tasknotesTab.click(); |
| 471 | await page.waitForTimeout(500); |
| 472 | } |
| 473 | } |
| 474 | |
| 475 | // Helper to click a settings tab |
| 476 | async function clickSettingsTab(page: Page, tabName: string): Promise<void> { |
no outgoing calls
no test coverage detected