(cherry picked from commit 4fb41f3ba274f32b8e23f52e46b82e3d93f63af6) Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b3d6c0c564
Коммит
f9fb13c7e6
@@ -11,7 +11,7 @@
|
||||
// Group: @channels @keyboard_shortcuts
|
||||
|
||||
import * as messages from '../../../fixtures/messages';
|
||||
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
||||
import timeouts, * as TIMEOUTS from '../../../fixtures/timeouts';
|
||||
|
||||
describe('Keyboard Shortcuts', () => {
|
||||
let testTeam;
|
||||
@@ -377,6 +377,7 @@ describe('Keyboard Shortcuts', () => {
|
||||
cy.get('body').cmdOrCtrlShortcut('{shift}L');
|
||||
cy.uiGetPostTextBox().should('be.focused');
|
||||
|
||||
cy.get('[data-testid="searchBoxClose"] > .icon').click();
|
||||
// # Post a message and open RHS
|
||||
const message = `hello${Date.now()}`;
|
||||
cy.postMessage(message);
|
||||
@@ -386,6 +387,7 @@ describe('Keyboard Shortcuts', () => {
|
||||
cy.uiGetReplyTextBox().focus().should('be.focused');
|
||||
}).then(() => {
|
||||
// # Type CTRL/CMD+SHIFT+L
|
||||
cy.wait(timeouts.ONE_SEC);
|
||||
cy.get('body').cmdOrCtrlShortcut('{shift}L');
|
||||
cy.uiGetPostTextBox().should('be.focused');
|
||||
});
|
||||
|
||||
Ссылка в новой задаче
Block a user