|
|
|
@ -50,11 +50,11 @@ module.exports = { |
|
|
|
|
|
|
|
|
|
'Toggles Terminal': function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementVisible('div[data-id="terminalContainer"]') |
|
|
|
|
.assert.visible('div[data-id="terminalContainerDisplay"]') |
|
|
|
|
.assert.elementPresent('div[data-id="terminalContainerDisplay"]') |
|
|
|
|
.click('i[data-id="terminalToggleIcon"]') |
|
|
|
|
.checkElementStyle('div[data-id="terminalToggleMenu"]', 'height', '35px') |
|
|
|
|
.click('i[data-id="terminalToggleIcon"]') |
|
|
|
|
.assert.visible('div[data-id="terminalContainerDisplay"]') |
|
|
|
|
.checkElementStyle('div[data-id="terminalContainer-view"]', 'height', '36px') |
|
|
|
|
// .click('i[data-id="terminalToggleIcon"]')
|
|
|
|
|
// .assert.visible('div[data-id="terminalContainerDisplay"]')
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Switch Tabs using tabs icon': function (browser: NightwatchBrowser) { |
|
|
|
|