[MM-61599]: Remove tabIndex from non-interactive elements (#29659)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7740eb9d43
Коммит
7a959038f9
@@ -63,11 +63,7 @@ describe('Emoji reactions to posts/messages in GM channels', () => {
|
||||
// * Verify that the Add Reaction button isn't visible
|
||||
cy.findByLabelText('Add a reaction').should('not.be.visible');
|
||||
|
||||
// # Focus on the post since we can't hover with Cypress
|
||||
cy.get(`#post_${postId}`).focus().tab().tab();
|
||||
|
||||
// * Verify that the Add Reaction button is now visible
|
||||
cy.findByLabelText('Add a reaction').should('be.visible');
|
||||
cy.get(`#post_${postId}`).trigger('mouseover');
|
||||
|
||||
// # Click somewhere to clear the focus
|
||||
cy.get('#channelIntro').click();
|
||||
|
||||
Ссылка в новой задаче
Block a user