github.com/covergates/covergates@v0.2.2-0.20201009050117-42ef8a19fb95/web/tests/e2e/specs/test.js (about)

     1  // For authoring Nightwatch tests, see
     2  // https://nightwatchjs.org/guide
     3  
     4  module.exports = {
     5    'default e2e tests': browser => {
     6      browser
     7        .init()
     8        .waitForElementVisible('#app')
     9        .assert.elementPresent('.hello')
    10        .assert.containsText('h1', 'Welcome to Your Vue.js + TypeScript App')
    11        .assert.elementCount('img', 1)
    12        .end();
    13    },
    14  
    15    'example e2e test using a custom command': browser => {
    16      browser
    17        .openHomepage()
    18        .assert.elementPresent('.hello')
    19        .end();
    20    }
    21  };