[MM-61587]: Added appropriate ARIA attributes in the channel header (#29563)

* [MA-8]: Added appropriate ARIA attributes in the channel header

* [MA-8]: Review Fixes: Updated the aria-expanded ternary condition

* [MA-8]: Rebased with master and fixed e2e failing test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
ayush-chauhan233
2025-01-16 03:54:24 +05:30
коммит произвёл GitHub
родитель c3ff2c5129
Коммит 5c08e0de0b
3 изменённых файлов: 29 добавлений и 27 удалений

Просмотреть файл

@@ -90,7 +90,7 @@ describe('channels > rhs > header', {testIsolation: true}, () => {
cy.get('#rhsContainer').findByTestId('rendered-run-name').should('be.visible').contains('new run name');
// * make sure the channel name remains unchanged
cy.get('#channelHeaderInfo').contains(playbookRunName);
cy.get('#channelHeaderInfo').findByRole('heading').contains(playbookRunName);
});
});