mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-01 09:54:37 +00:00
Merge branch 'toger5/move-settings-out-of-bottom-bar' into
toger5/bottom-bar-storybook
This commit is contained in:
@@ -125,7 +125,6 @@ function createInCallView(args: CreateInCallViewArgs = {}): RenderResult & {
|
||||
toggleScreensharing: () => {},
|
||||
...args.callViewModelOptions,
|
||||
},
|
||||
args.mediaDevices,
|
||||
);
|
||||
|
||||
rtcSession.joined = true;
|
||||
@@ -264,7 +263,9 @@ describe("InCallView", () => {
|
||||
},
|
||||
});
|
||||
|
||||
const { getByRole } = createInCallView({ mediaDevices });
|
||||
const { getByRole } = createInCallView({
|
||||
callViewModelOptions: { mediaDeviceOverride: mediaDevices },
|
||||
});
|
||||
// The button should be visible. When current output is "speaker",
|
||||
// the switcher targets "earpiece", so the tooltip label is "Handset".
|
||||
const audioOutputBtn = getByRole("switch", { name: "Handset" });
|
||||
|
||||
Reference in New Issue
Block a user