First commit
This commit is contained in:
14
test/e2e/specs/test.js
Normal file
14
test/e2e/specs/test.js
Normal file
@ -0,0 +1,14 @@
|
||||
// For authoring Nightwatch tests, see
|
||||
// http://nightwatchjs.org/guide#usage
|
||||
|
||||
module.exports = {
|
||||
'default e2e tests': function (browser) {
|
||||
browser
|
||||
.url('http://localhost:8080')
|
||||
.waitForElementVisible('#app', 5000)
|
||||
.assert.elementPresent('.logo')
|
||||
.assert.containsText('h1', 'DASHBOARD Overview of environment')
|
||||
.assert.elementCount('p', 4)
|
||||
.end()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user