Initial import

v1 of Vue.js-based site
This commit is contained in:
Daniel J. Summers
2017-07-26 22:09:53 -05:00
parent 7c777fb27c
commit 7462c816f5
67 changed files with 13291 additions and 0 deletions

19
test/e2e/specs/test.js Normal file
View File

@@ -0,0 +1,19 @@
// For authoring Nightwatch tests, see
// http://nightwatchjs.org/guide#usage
module.exports = {
'default e2e tests': function (browser) {
// automatically uses dev Server port from /config.index.js
// default: http://localhost:8080
// see nightwatch.conf.js
const devServer = browser.globals.devServerURL
browser
.url(devServer)
.waitForElementVisible('#app', 5000)
.assert.elementPresent('.hello')
.assert.containsText('h1', 'Welcome to Your Vue.js App')
.assert.elementCount('img', 1)
.end()
}
}