mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-13 23:35:51 +00:00
Fix breaking Ci tests due to compound-web 10.1.0 -> 10.3.1 bump
This commit is contained in:
@@ -129,7 +129,7 @@ async function openDeviceList(page: Page, pane: Locator): Promise<Locator> {
|
|||||||
.getByRole("button", { name: "Microphone" })
|
.getByRole("button", { name: "Microphone" })
|
||||||
.click({ timeout: 60_000 });
|
.click({ timeout: 60_000 });
|
||||||
await expect(page.getByRole("menu")).toBeVisible();
|
await expect(page.getByRole("menu")).toBeVisible();
|
||||||
const list = page.locator("[role='menu'] div[role='none']").first();
|
const list = page.getByRole("menu").getByTestId("device-list");
|
||||||
await expect(list).toBeVisible();
|
await expect(list).toBeVisible();
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -345,6 +345,7 @@ export const MediaMuteAndSwitchButton: FC<MediaMuteAndSwitchButtonProps> = ({
|
|||||||
// Keeps the items the menu's own children for assistive tech.
|
// Keeps the items the menu's own children for assistive tech.
|
||||||
role="none"
|
role="none"
|
||||||
className={styles.deviceList}
|
className={styles.deviceList}
|
||||||
|
data-testid="device-list"
|
||||||
style={
|
style={
|
||||||
{
|
{
|
||||||
"--device-list-max-height":
|
"--device-list-max-height":
|
||||||
|
|||||||
Reference in New Issue
Block a user