MM-40414: Add empty state icons (#25282)

Automatic Merge
Этот коммит содержится в:
Ashish Dhama
2023-11-20 09:30:14 +05:30
коммит произвёл GitHub
родитель 8bd603eb12
Коммит a9a879d00d
57 изменённых файлов: 809 добавлений и 151 удалений

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

@@ -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