[MM-61599]: Remove tabIndex from non-interactive elements (#29659)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7740eb9d43
Коммит
7a959038f9
@@ -10,7 +10,7 @@
|
||||
// Stage: @prod
|
||||
// Group: @channels @mark_as_unread
|
||||
|
||||
import {notShowCursor, markAsUnreadShouldBeAbsent} from './helpers';
|
||||
import {markAsUnreadShouldBeAbsent} from './helpers';
|
||||
|
||||
describe('Channels', () => {
|
||||
let testUser;
|
||||
@@ -75,12 +75,6 @@ describe('Channels', () => {
|
||||
// * Verify the "Mark as Unread" option is absent in post menu
|
||||
markAsUnreadShouldBeAbsent(post1.id);
|
||||
|
||||
// * Hover on the post with holding alt should show cursor
|
||||
cy.get(`#post_${post1.id}`).trigger('mouseover').type('{alt}', {release: false}).should(notShowCursor);
|
||||
|
||||
// # Mouse click on the post holding alt
|
||||
cy.get(`#post_${post1.id}`).type('{alt}', {release: false}).click();
|
||||
|
||||
// * Verify the post is not marked as unread
|
||||
cy.get('.NotificationSeparator').should('not.exist');
|
||||
});
|
||||
|
||||
@@ -61,8 +61,8 @@ describe('Mark as Unread', () => {
|
||||
// * Hover on the post with holding alt should show cursor
|
||||
cy.get(`#post_${post2.id}`).trigger('mouseover').type('{alt}', {release: false}).should(showCursor);
|
||||
|
||||
// # Mouse click on the post holding alt
|
||||
cy.get(`#post_${post2.id}`).type('{alt}', {release: false}).click();
|
||||
// # Mouse click on the post
|
||||
cy.get(`#post_${post2.id}`).click();
|
||||
|
||||
// * Verify the post is marked as unread
|
||||
verifyPostNextToNewMessageSeparator('post2');
|
||||
|
||||
Ссылка в новой задаче
Block a user