Improve ThreadPanel ctx menu accessibility (#7217)
This commit is contained in:
committed by
GitHub
parent
9727a82a12
commit
fe24c8ad2a
@@ -70,7 +70,7 @@ describe('ThreadPanel', () => {
|
||||
wrapper.find(ContextMenuButton).simulate('click');
|
||||
const found = wrapper.find(ThreadPanelHeaderFilterOptionItem);
|
||||
expect(found.length).toEqual(2);
|
||||
const foundButton = found.find('[aria-selected=true]').first();
|
||||
const foundButton = found.find('[aria-checked=true]').first();
|
||||
expect(foundButton.text()).toEqual(`${_t("All threads")}${_t('Shows all threads from current room')}`);
|
||||
expect(foundButton).toMatchSnapshot();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user