diff --git a/e2e/specs/menu_bar/window_menu.test.js b/e2e/specs/menu_bar/window_menu.test.js index f5bde557..c626627e 100644 --- a/e2e/specs/menu_bar/window_menu.test.js +++ b/e2e/specs/menu_bar/window_menu.test.js @@ -96,6 +96,21 @@ describe('Menu/window_menu', function desc() { tabViewButton.should.equal('Channels'); }); + it('MM-T827 select next/previous tab', async () => { + const mainView = this.app.windows().find((window) => window.url().includes('index')); + + let tabViewButton = await mainView.innerText('.active'); + tabViewButton.should.equal('Channels'); + + robot.keyTap('tab', ['control']); + tabViewButton = await mainView.innerText('.active'); + tabViewButton.should.equal('Boards'); + + robot.keyTap('tab', ['shift', 'control']); + tabViewButton = await mainView.innerText('.active'); + tabViewButton.should.equal('Channels'); + }); + it.skip('MM-T824 should be minimized when keyboard shortcuts are pressed', async () => { const browserWindow = await this.app.browserWindow(await this.app.firstWindow()); const mainWindow = this.app.windows().find((window) => window.url().includes('index'));