(page: Page)
| 3440 | test.describe('Issue #1409 - Popout window functionality', () => { |
| 3441 | // Helper to move current pane to a new popout window |
| 3442 | async function moveToPopoutWindow(page: Page): Promise<Page | null> { |
| 3443 | // Use Obsidian command to move pane to new window |
| 3444 | await runCommand(page, 'Move current pane to new window'); |
| 3445 | await page.waitForTimeout(2000); |
| 3446 | |
| 3447 | // Get the browser context to find the new window |
| 3448 | const context = page.context(); |
| 3449 | const pages = context.pages(); |
| 3450 | |
| 3451 | // Return the newest page (the popout window) if one was created |
| 3452 | if (pages.length > 1) { |
| 3453 | // The popout window is typically the last page |
| 3454 | return pages[pages.length - 1]; |
| 3455 | } |
| 3456 | return null; |
| 3457 | } |
| 3458 | |
| 3459 | test.fixme('calendar drag and drop should work in popout window (Issue #1409, #979)', async () => { |
| 3460 | // STATUS: BUG - Issue #1409, related to #979 |
no test coverage detected