[MM-61646]: Added logic to correctly give accessible name to channel header button (#29788)
* [MA-32]: Added logic to correctly give accessible name to channel header button * [MA-32]: Fixed id name * [MA-32]: Fixed failing e2e test case * [MA-32]: Updated the aria-label attribute
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
49948891ce
Коммит
ca2b3fd528
@@ -30,7 +30,7 @@ describe('Channel Settings - Channel Header', () => {
|
||||
cy.visit(`/${testTeam.name}/channels/${channel.name}`);
|
||||
|
||||
// # Click on the channel name in the channel header to open the channel menu options
|
||||
cy.get('[aria-label="channel menu"]').click();
|
||||
cy.get(`[aria-label="${channel.name.split('-').join(' ')} channel menu"]`).click();
|
||||
|
||||
// # Select the "Edit Channel Header" option from the dropdown
|
||||
cy.findByText('Edit Channel Header').click();
|
||||
|
||||
Ссылка в новой задаче
Block a user