Fix Cypress tests on master (#26500)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6ea363e260
Коммит
9e5d486a5b
@@ -35,6 +35,7 @@ describe('Verify Accessibility Support in different sections in Settings and Pro
|
||||
{key: 'email', label: 'Email Notifications', type: 'radio'},
|
||||
{key: 'push', label: 'Mobile Push Notifications', type: 'radio'},
|
||||
{key: 'keysWithNotification', label: 'Keywords That Trigger Notifications', type: 'checkbox'},
|
||||
{key: 'keysWithHighlight', label: 'Keywords That Get Highlighted (Without Notifications)', type: 'checkbox'},
|
||||
{key: 'comments', label: 'Reply Notifications', type: 'radio'},
|
||||
],
|
||||
display: [
|
||||
@@ -130,6 +131,7 @@ describe('Verify Accessibility Support in different sections in Settings and Pro
|
||||
|
||||
// * Verify if the focus goes to the individual fields in Notifications section
|
||||
cy.findByRole('tab', {name: 'notifications'}).click().tab();
|
||||
cy.focused().should('have.text', 'Learn more about notifications').tab();
|
||||
verifySettings(settings.notifications);
|
||||
|
||||
// // * Verify if the focus goes to the individual fields in Display section
|
||||
|
||||
@@ -66,7 +66,7 @@ describe('Verify Quick Navigation support across different regions in the app',
|
||||
cy.uiGetPostTextBox().focus().tab().tab({shift: true});
|
||||
|
||||
// * Verify post input region reads out correctly
|
||||
verifyNavSupport('#advancedTextEditorCell', 'Login Successful message input complimentary region', '2');
|
||||
verifyNavSupport('#advancedTextEditorCell', 'message input complimentary region', '2');
|
||||
});
|
||||
|
||||
it('MM-T1460_3 Verify Navigation Support in RHS Post List & RHS Post Input', () => {
|
||||
@@ -90,7 +90,7 @@ describe('Verify Quick Navigation support across different regions in the app',
|
||||
|
||||
// * Verify post input on RHS reads out correctly
|
||||
cy.get('#advancedTextEditorCell').
|
||||
should('have.attr', 'aria-label', 'Login Successful message input complimentary region').
|
||||
should('have.attr', 'aria-label', 'message input complimentary region').
|
||||
and('have.attr', 'data-a11y-sort-order', '2').
|
||||
and('have.class', 'a11y__region');
|
||||
cy.uiGetReplyTextBox().
|
||||
|
||||
Ссылка в новой задаче
Block a user