How to use the nightwatch.initGrunt function in nightwatch

To help you get started, we’ve selected a few nightwatch examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mucsi96 / nightwatch-cucumber / test / fixture / Gruntfile.js View on Github external
module.exports = (grunt) => {
  grunt.initConfig({
    nightwatch: {
      'default': {
        argv: {}
      }
    }
  })

  nightwatch.initGrunt(grunt)

  grunt.registerTask('default', ['nightwatch'])
}
github lidel / pls.watch / Gruntfile.js View on Github external
module.exports = function(grunt) {
  require('load-grunt-tasks')(grunt);
  require('nightwatch').initGrunt(grunt);
  require('time-grunt')(grunt);

  grunt.initConfig({
    connect: {
      server: {
        options: {
          hostname: 'yt.127.0.0.1.xip.io',
          port: 28080,
          base: '.'
        },
      },
    },
    nightwatch: {
      options: {
        cwd: './test/'
      },

nightwatch

Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.

MIT
Latest version published 11 days ago

Package Health Score

92 / 100
Full package analysis