Files
manja_dev_ui/tests/e2e/specs/test.js
T
Łukasz Holeczek 79559ae334 v4 initial commit
2021-08-02 23:57:02 +02:00

19 lines
487 B
JavaScript

// For authoring Nightwatch tests, see
// https://nightwatchjs.org/guide
module.exports = {
"default e2e tests": (browser) => {
browser
.init()
.waitForElementVisible("#app")
.assert.elementPresent(".hello")
.assert.containsText("h1", "Welcome to Your Vue.js App")
.assert.elementCount("img", 1)
.end();
},
"example e2e test using a custom command": (browser) => {
browser.openHomepage().assert.elementPresent(".hello").end();
},
};