mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-19 10:54:36 +00:00
Update MediaMuteAndSwitchButton.test.tsx
This commit is contained in:
@@ -192,7 +192,7 @@ describe("MediaMuteAndSwitchButton", () => {
|
||||
<TooltipProvider>
|
||||
<MediaMuteAndSwitchButton
|
||||
title="Switcher"
|
||||
iconsAndLabels="audio"
|
||||
iconsAndLabels="video"
|
||||
enabled={true}
|
||||
backgroundBlurToggleClick={onVideoBlurToggle}
|
||||
onSelect={onSelect}
|
||||
@@ -200,7 +200,7 @@ describe("MediaMuteAndSwitchButton", () => {
|
||||
</TooltipProvider>,
|
||||
);
|
||||
|
||||
await user.click(getByRole("button", { name: "Microphone" }));
|
||||
await user.click(getByRole("button", { name: "Camera" }));
|
||||
|
||||
const toggle = screen.getByRole("menuitemcheckbox", {
|
||||
name: "Blur background",
|
||||
|
||||
Reference in New Issue
Block a user