view 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
line wrap: on
line source

// 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(".login")
      .end();
  }
};