mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-61652]: Removed unnecessary role and aria-level from channel header (#29540)
* [BST-183]: Removed unnecessary role and aria-level from channel header * [BST-183]: Fix failing E2E test case --------- Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
parent
fd6a662d76
commit
eb3862f6eb
@ -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').findByRole('heading').contains(playbookRunName);
|
||||
cy.get('#channelHeaderInfo').contains(playbookRunName);
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -103,8 +103,6 @@ const ChannelHeaderTitle = ({
|
||||
size='sm'
|
||||
/>
|
||||
<strong
|
||||
role='heading'
|
||||
aria-level={2}
|
||||
id='channelHeaderTitle'
|
||||
className='heading'
|
||||
>
|
||||
@ -141,8 +139,6 @@ const ChannelHeaderTitle = ({
|
||||
title={channelTitle as string}
|
||||
>
|
||||
<strong
|
||||
role='heading'
|
||||
aria-level={2}
|
||||
id='channelHeaderTitle'
|
||||
className='heading'
|
||||
ref={headerItemRef}
|
||||
@ -156,8 +152,6 @@ const ChannelHeaderTitle = ({
|
||||
</WithTooltip>
|
||||
) : (
|
||||
<strong
|
||||
role='heading'
|
||||
aria-level={2}
|
||||
id='channelHeaderTitle'
|
||||
className='heading'
|
||||
ref={headerItemRef}
|
||||
|
Loading…
Reference in New Issue
Block a user