Add pop-out and full screen to the stream's right-click menu

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 22:35:52 +02:00
co-authored by Claude Opus 5.5
parent e0e900625d
commit b5dda4e1c2
2 changed files with 9 additions and 2 deletions
+3 -1
View File
@@ -169,7 +169,9 @@ try {
// The large picture can move to a window of its own
const opened = bob.app.waitForEvent('window');
await view.getByRole('button', { name: 'Open in a separate window' }).click();
// From the right-click menu on the picture
await bob.page.locator('.spot video').click({ button: 'right' });
await bob.page.getByRole('menuitem', { name: 'Open in a separate window' }).click();
const streamWindow = await opened;
await streamWindow.waitForFunction(() => (document.querySelector('video') as HTMLVideoElement | null)?.videoWidth! > 0, null, { timeout: 15000 });
await view.getByText('Shown in a separate window.').waitFor();