Mercurial > gemma
comparison client/tests/e2e/specs/test.js @ 164:7c40e9f28f94
test: Moved testfile. Established nightwatch tests
Vue-cli offers easy e2e test integration with nightowl.
Nightowl leverages the selenium webdriver.
So the bedrock for a test suite is laid.
Additionally: Upgraded packages of vue-cli, which are now at least
Release Candidates.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 06 Jul 2018 10:51:19 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
163:30c212a6f580 | 164:7c40e9f28f94 |
---|---|
1 // For authoring Nightwatch tests, see | |
2 // http://nightwatchjs.org/guide#usage | |
3 | |
4 module.exports = { | |
5 "default e2e tests": browser => { | |
6 browser | |
7 .url(process.env.VUE_DEV_SERVER_URL) | |
8 .waitForElementVisible("#app", 5000) | |
9 .assert.elementPresent(".login") | |
10 .end(); | |
11 } | |
12 }; |