0.5.3 • Published 5 years ago

@rpii/nightwatch-custom-commands v0.5.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Nightwatch custom commands and assertions

These are some useful commands that integrate with the nightwatch-html-reporter:

  • takeScreenshot
  • logMessage

How do you use these commands?

You can install it using npm:

npm install @rpii/nightwatch-custom-commands --save-dev

```json
const ciCommands = require('@rpii/nightwatch-custom-commands');
module.exports = {

    "test_workers": false,
    "src_folders": ["tests"],
    "globals_path": "globals/globals.js",
    "custom_commands_path": [ciCommands.commandPath],

Now you should be able to use these commands when you call nightwatch --test.

-