responsive_image_grid/tests/e2e/specs/test.js

22 lines
503 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();
}
};