+
{visibleTiles}
{showNButton}
diff --git a/test/components/views/rooms/RoomList-test.js b/test/components/views/rooms/RoomList-test.js
index d994d66177..7e3752738e 100644
--- a/test/components/views/rooms/RoomList-test.js
+++ b/test/components/views/rooms/RoomList-test.js
@@ -131,7 +131,7 @@ describe('RoomList', () => {
});
function expectRoomInSubList(room, subListTest) {
- const RoomSubList = sdk.getComponent('views.rooms.RoomSublist2');
+ const RoomSubList = sdk.getComponent('views.rooms.RoomSublist');
const RoomTile = sdk.getComponent('views.rooms.RoomTile');
const subLists = ReactTestUtils.scryRenderedComponentsWithType(root, RoomSubList);
diff --git a/test/end-to-end-tests/src/usecases/create-room.js b/test/end-to-end-tests/src/usecases/create-room.js
index 47e5afa1d5..26c54771ab 100644
--- a/test/end-to-end-tests/src/usecases/create-room.js
+++ b/test/end-to-end-tests/src/usecases/create-room.js
@@ -21,9 +21,9 @@ async function openRoomDirectory(session) {
}
async function findSublist(session, name) {
- const sublists = await session.queryAll('.mx_RoomSublist2');
+ const sublists = await session.queryAll('.mx_RoomSublist');
for (const sublist of sublists) {
- const header = await sublist.$('.mx_RoomSublist2_headerText');
+ const header = await sublist.$('.mx_RoomSublist_headerText');
const headerText = await session.innerText(header);
if (headerText.toLowerCase().includes(name.toLowerCase())) {
return sublist;
@@ -36,7 +36,7 @@ async function createRoom(session, roomName, encrypted=false) {
session.log.step(`creates room "${roomName}"`);
const roomsSublist = await findSublist(session, "rooms");
- const addRoomButton = await roomsSublist.$(".mx_RoomSublist2_auxButton");
+ const addRoomButton = await roomsSublist.$(".mx_RoomSublist_auxButton");
await addRoomButton.click();
const roomNameInput = await session.query('.mx_CreateRoomDialog_name input');
@@ -58,7 +58,7 @@ async function createDm(session, invitees) {
session.log.step(`creates DM with ${JSON.stringify(invitees)}`);
const dmsSublist = await findSublist(session, "people");
- const startChatButton = await dmsSublist.$(".mx_RoomSublist2_auxButton");
+ const startChatButton = await dmsSublist.$(".mx_RoomSublist_auxButton");
await startChatButton.click();
const inviteesEditor = await session.query('.mx_InviteDialog_editor textarea');