Allow call and broadcast PiP at the same time (#9829)

This commit is contained in:
Michael Weimann 2022-12-28 14:43:44 +01:00 committed by GitHub
parent d2763c329d
commit c257e137aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 79 additions and 33 deletions

View file

@ -279,9 +279,18 @@ describe("PipView", () => {
});
it("should render the voice broadcast recording PiP", () => {
// check for the „Live“ badge
// check for the „Live“ badge to be present
expect(screen.queryByText("Live")).toBeInTheDocument();
});
it("and a call it should show both, the call and the recording", async () => {
await withCall(async () => {
// Broadcast: Check for the „Live“ badge to be present
expect(screen.queryByText("Live")).toBeInTheDocument();
// Call: Check for the „Fill screen“ button to be present
expect(screen.queryByLabelText("Fill screen")).toBeInTheDocument();
});
});
});
describe("when there is a voice broadcast playback and pre-recording", () => {