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