Add a playwright test to ensure object fit is correct

This commit is contained in:
Valere
2026-03-10 09:05:05 +01:00
parent 3da762ab36
commit 143b560b20
3 changed files with 87 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ widgetTest("Create and join a group call", async ({ addUser, browserName }) => {
// The only way to know if it is muted or not is to look at the data-kind attribute..
const videoButton = frame.getByTestId("incall_videomute");
await expect(videoButton).toBeVisible();
// video should be off by default in a voice call
// video should be on
await expect(videoButton).toHaveAttribute("aria-label", /^Stop video$/);
}