adjust timeouts

This commit is contained in:
Valere
2026-04-22 17:25:14 +02:00
parent 854cfdfe1b
commit 1b9682869a
4 changed files with 18 additions and 9 deletions
+3 -1
View File
@@ -64,8 +64,10 @@ widgetTest("Put call in PIP", async ({ addUser, browserName }) => {
const frame = valere.page
.locator('iframe[title="Element Call"]')
.contentFrame();
await expect(frame.locator("video")).toHaveCount(1, { timeout: 10000 });
const videoElements = await frame.locator("video").all();
expect(videoElements.length).toBe(1);
const pipVideo = videoElements[0];
await expect(pipVideo).toHaveCSS("object-fit", "cover");