diff --git a/e2e/specs/menu_bar/file_menu.test.js b/e2e/specs/menu_bar/file_menu.test.js index ffa57366..5287ff29 100644 --- a/e2e/specs/menu_bar/file_menu.test.js +++ b/e2e/specs/menu_bar/file_menu.test.js @@ -39,4 +39,21 @@ describe('file_menu/dropdown', function desc() { settingsWindow.should.not.be.null; } }); + + it('MM-T805 Sign in to Another Server Window opens using menu item', async () => { + if (process.platform === 'win32' || process.platform === 'linux') { + const mainWindow = this.app.windows().find((window) => window.url().includes('index')); + mainWindow.should.not.be.null; + robot.keyTap('alt'); + robot.keyTap('enter'); + robot.keyTap('f'); + robot.keyTap('s'); + robot.keyTap('s'); + robot.keyTap('enter'); + const signInToAnotherServerWindow = await this.app.waitForEvent('window', { + predicate: (window) => window.url().includes('newServer'), + }); + signInToAnotherServerWindow.should.not.be.null; + } + }); });