tests: add some issing tests

This commit is contained in:
xidedix
2018-08-20 16:37:33 +02:00
parent 87e783e692
commit ea01f937b2
45 changed files with 1141 additions and 17 deletions
+18
View File
@@ -80,6 +80,24 @@ module.exports = {
this.assert.cssClassNotPresent('/html/body', 'brand-minimized')
})
browser
.resizeWindow(800, 600)
.pause(500)
browser
.pause(500)
.click('/html/body/div/header/button[1]', function (response) {
console.log('response', typeof response)
this.assert.cssClassPresent('/html/body', 'sidebar-show')
})
browser
.pause(500)
.click('/html/body/div/div/div/nav/section/ul/li[1]/div/a', function (response) {
console.log('response', typeof response)
this.assert.cssClassNotPresent('/html/body', 'sidebar-show')
})
browser
.pause(5000)
.end()