Skip to content
Snippets Groups Projects
Unverified Commit 4909e1cc authored by Júlia Jaeger Foresti's avatar Júlia Jaeger Foresti Committed by GitHub
Browse files

regression: sidebar scrolling horizontally (#35048)

parent 64685ca3
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ const RoomMenu = ({ rid, unread, threadUnread, alert, roomOpen, type, cl, name =
const isUnread = alert || unread || threadUnread;
const sections = useRoomMenuActions({ rid, type, name, isUnread, cl, roomOpen, hideDefaultOptions });
return <GenericMenu detached className='rcx-sidebar-item__menu' title={t('Options')} mini aria-keyshortcuts='alt' sections={sections} />;
return <GenericMenu detached title={t('Options')} mini aria-keyshortcuts='alt' sections={sections} />;
};
export default memo(RoomMenu);
......@@ -78,7 +78,7 @@ export class Sidebar {
async markItemAsUnread(item: Locator): Promise<void> {
await item.hover();
await item.focus();
await item.locator('.rcx-sidebar-item__menu').click();
await item.getByRole('button', { name: 'Options', exact: true }).click();
await this.page.getByRole('menuitem', { name: 'Mark Unread' }).click();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment