2022-02-27 15:37:42 +01:00

15 lines
393 B
JavaScript

// 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()
}
}