MM-61306: Cypress/E2E, fixed failed tests (#28959)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
857fd87a47
Коммит
77862dd581
@@ -18,6 +18,13 @@ describe('Verify Accessibility Support in different Buttons', () => {
|
||||
|
||||
// # Post a message
|
||||
cy.postMessage('hello');
|
||||
cy.getLastPostId().then((postId) => {
|
||||
// # On a message in center channel, click then pin the post to the channel
|
||||
cy.uiClickPostDropdownMenu(postId, 'Pin to Channel');
|
||||
|
||||
// # Click pin icon next to search box
|
||||
cy.uiGetChannelPinButton().click();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ describe('Verify Accessibility keyboard usability across different regions in th
|
||||
|
||||
// # Search for a term
|
||||
cy.uiGetSearchContainer().click();
|
||||
cy.uiGetSearchBox().find('input').typeWithForce('hello').typeWithForce('{enter}');
|
||||
cy.uiGetSearchBox().typeWithForce('hello').typeWithForce('{enter}');
|
||||
|
||||
// # Change the focus to search results
|
||||
cy.get('#searchContainer').within(() => {
|
||||
|
||||
@@ -126,7 +126,7 @@ describe('Verify Quick Navigation support across different regions in the app',
|
||||
it('MM-T1460_8 Verify Navigation Support in Search Results', () => {
|
||||
// # Search for some text
|
||||
cy.uiGetSearchContainer().click();
|
||||
cy.uiGetSearchBox().find('input').should('be.visible').type('hello {enter}');
|
||||
cy.uiGetSearchBox().should('be.visible').first().type('hello {enter}');
|
||||
|
||||
// # Change the focus to search results
|
||||
cy.get('#searchContainer').within(() => {
|
||||
|
||||
Ссылка в новой задаче
Block a user