Tweak video rooms copy (#8582)
* "Video room" → "New video room" * "Connect now" → "Join" * "N people connected" → "N people joined" * "Connected" → "Joined" * Fix tests
This commit is contained in:
parent
59b9d1e818
commit
26bc3ab0aa
9 changed files with 19 additions and 20 deletions
|
@ -81,11 +81,11 @@ describe("RoomTile", () => {
|
|||
|
||||
act(() => { store.startConnect("!1:example.org"); });
|
||||
tile.update();
|
||||
expect(tile.find(".mx_RoomTile_videoIndicator").text()).toEqual("Connecting...");
|
||||
expect(tile.find(".mx_RoomTile_videoIndicator").text()).toEqual("Joining…");
|
||||
|
||||
act(() => { store.connect("!1:example.org"); });
|
||||
tile.update();
|
||||
expect(tile.find(".mx_RoomTile_videoIndicator").text()).toEqual("Connected");
|
||||
expect(tile.find(".mx_RoomTile_videoIndicator").text()).toEqual("Joined");
|
||||
|
||||
act(() => { store.disconnect(); });
|
||||
tile.update();
|
||||
|
|
|
@ -92,7 +92,7 @@ describe("VideoLobby", () => {
|
|||
|
||||
// Only Alice should display as connected
|
||||
const memberText = lobby.find(".mx_VideoLobby_connectedMembers").children().at(0).text();
|
||||
expect(memberText).toEqual("1 person connected");
|
||||
expect(memberText).toEqual("1 person joined");
|
||||
expect(lobby.find(FacePile).find(MemberAvatar).props().member.userId).toEqual("@alice:example.org");
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue