[MM-61599]: Remove tabIndex from non-interactive elements (#29659)

Этот коммит содержится в:
Saurabh Sharma
2025-01-31 21:54:56 +05:30
коммит произвёл GitHub
родитель 7740eb9d43
Коммит 7a959038f9
11 изменённых файлов: 26 добавлений и 54 удалений

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

@@ -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();