mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-20 04:57:03 +00:00
Show speaking indicators in spotlight during screen sharing
This commit is contained in:
@@ -221,6 +221,9 @@ test("screen sharing activates spotlight layout", () => {
|
||||
// sharing, then return to grid, then manually go into spotlight, and
|
||||
// remain in spotlight until we manually go back to grid
|
||||
const laytMarbles = "ab(cc)(dd)ae(bb)(ee)a 59979ms a";
|
||||
// Speaking indicators should always be shown except for when the active
|
||||
// speaker is present in the spotlight
|
||||
const showMarbles = "y----------ny---n---y";
|
||||
|
||||
withCallViewModel(
|
||||
helpers,
|
||||
@@ -270,6 +273,10 @@ test("screen sharing activates spotlight layout", () => {
|
||||
},
|
||||
},
|
||||
);
|
||||
expectObservable(vm.showSpeakingIndicators).toBe(showMarbles, {
|
||||
y: true,
|
||||
n: false,
|
||||
});
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user