коммит произвёл
GitHub
родитель
8bd603eb12
Коммит
a9a879d00d
@@ -69,13 +69,13 @@ describe('Verify Accessibility Support in different Buttons', () => {
|
||||
tab({shift: true}).
|
||||
tab();
|
||||
|
||||
// # Press tab until the focus is on the Pinned posts button
|
||||
// # Press tab until the focus is on the Pinned messages button
|
||||
cy.focused().tab().tab();
|
||||
|
||||
// * Verify accessibility support in Pinned Posts button
|
||||
// * Verify accessibility support in Pinned messages button
|
||||
cy.uiGetChannelPinButton().
|
||||
should('be.focused').
|
||||
and('have.attr', 'aria-label', 'Pinned posts').
|
||||
and('have.attr', 'aria-label', 'Pinned messages').
|
||||
tab().tab().tab().tab();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -185,7 +185,7 @@ describe('Verify Accessibility Support in Post', () => {
|
||||
cy.focused().tab();
|
||||
|
||||
// * Verify focus is on the save post button
|
||||
cy.get(`#CENTER_flagIcon_${postId}`).should('be.focused').and('have.attr', 'aria-label', 'save');
|
||||
cy.get(`#CENTER_flagIcon_${postId}`).should('be.focused').and('have.attr', 'aria-label', 'save message');
|
||||
cy.focused().tab();
|
||||
|
||||
// * Verify focus is on message actions button
|
||||
@@ -243,7 +243,7 @@ describe('Verify Accessibility Support in Post', () => {
|
||||
cy.focused().tab({shift: true});
|
||||
|
||||
// * Verify focus is on the save icon
|
||||
cy.get(`#RHS_COMMENT_flagIcon_${postId}`).should('be.focused').and('have.attr', 'aria-label', 'save');
|
||||
cy.get(`#RHS_COMMENT_flagIcon_${postId}`).should('be.focused').and('have.attr', 'aria-label', 'save message');
|
||||
cy.focused().tab({shift: true});
|
||||
|
||||
// * Verify focus is on the reactions button
|
||||
|
||||
Ссылка в новой задаче
Block a user