Skip to content

Commit a9d9658

Browse files
Added initial integration test for home page. Typescript support is not yet cleanly supported for nightwatch
1 parent a2c576b commit a9d9658

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

template/test/e2e/spec/home.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ module.exports = {
77

88
browser
99
.url(devServer)
10-
.waitForElementVisible('#app', 1000)
11-
.assert.elementPresent('.hello')
12-
.assert.containsText('h1', 'Welcome to Your Vue.js App')
10+
.waitForElementVisible('#main', 1000)
11+
.assert.elementPresent('.winner')
12+
.assert.containsText('.winner', 'THIS PAGE IS INTENTIONALLY STYLED POORLY')
1313
.end()
1414
}
1515
}

0 commit comments

Comments
 (0)