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