Merge branch 'toger5/move-settings-out-of-bottom-bar' into

toger5/bottom-bar-storybook
This commit is contained in:
Timo K
2026-04-14 18:09:50 +02:00
7 changed files with 57 additions and 29 deletions

View File

@@ -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" });