Created
March 9, 2018 13:24
-
-
Save mekhami/a1bd7622284c932aae480a795aab779b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
'sample info panel should be collapsible': function (browser) { | |
browser | |
.url(samplesUrl) | |
.waitForElementVisible('.data-table tbody tr td a', 5000) | |
.click('tbody tr td a') | |
.waitForElementVisible('#hide-panel', 5000) | |
.click('#hide-panel') | |
.waitForElementNotPresent('.content__left', 1000) | |
.assert.elementNotPresent('.content_left') | |
.assert.visible('#toggle-panel') | |
.click('#toggle-panel') | |
.waitForElementPresent('.content__left', 1000) | |
.assert.elementPresent('.content__left') | |
.end() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment