MM-61306: Cypress/E2E, fixed failed tests (#28959)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
857fd87a47
Коммит
77862dd581
@@ -43,7 +43,7 @@ describe('Keyboard Shortcuts', () => {
|
||||
it('MM-T1250 CTRL/CMD+SHIFT+L - Set focus to center channel message box (with SEARCH RHS open)', () => {
|
||||
// # Search
|
||||
cy.uiGetSearchContainer().click();
|
||||
cy.uiGetSearchBox().find('input').type('test{enter}');
|
||||
cy.uiGetSearchBox().first().type('test{enter}');
|
||||
|
||||
// * Wait for the RHS to open and the search results to appear
|
||||
cy.contains('.sidebar--right__header', 'Search Results').should('be.visible');
|
||||
|
||||
@@ -371,7 +371,7 @@ describe('Keyboard Shortcuts', () => {
|
||||
it('MM-T1248 - CTRL/CMD+SHIFT+L - Set focus to center channel message box', () => {
|
||||
// # Open search box to change focus
|
||||
cy.uiGetSearchContainer().click();
|
||||
cy.uiGetSearchBox().find('input').should('be.focused');
|
||||
cy.uiGetSearchBox().should('be.focused');
|
||||
|
||||
// # Type CTRL/CMD+SHIFT+L
|
||||
cy.get('body').cmdOrCtrlShortcut('{shift}L');
|
||||
|
||||
Ссылка в новой задаче
Block a user