mobilizon.chapril.org-mobil.../js/tests/e2e/specs/test.js
Thomas Citharel cf0cbc8bde
Move folder
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:14:05 +02:00

15 lines
395 B
JavaScript

// For authoring Nightwatch tests, see
// http://nightwatchjs.org/guide#usage
module.exports = {
'default e2e tests': (browser) => {
browser
.url(process.env.VUE_DEV_SERVER_URL)
.waitForElementVisible('#app', 5000)
.assert.elementPresent('.hello')
.assert.containsText('h1', 'Welcome to Your Vue.js App')
.assert.elementCount('img', 1)
.end();
},
};