mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-15 18:49:21 +00:00
Fix end-to-end tests
This commit is contained in:
@@ -385,11 +385,9 @@ export class TestHelpers {
|
||||
frame: FrameLocator,
|
||||
count: number,
|
||||
): Promise<void> {
|
||||
await expect(
|
||||
frame
|
||||
.getByRole("img")
|
||||
.and(frame.locator("video"))
|
||||
.filter({ visible: true }),
|
||||
).toHaveCount(count, { timeout: 10000 });
|
||||
await expect(frame.locator("video").filter({ visible: true })).toHaveCount(
|
||||
count,
|
||||
{ timeout: 10000 },
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user