Socket
Socket
Sign inDemoInstall

@rpii/nightwatch-custom-commands

Package Overview
Dependencies
2
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @rpii/nightwatch-custom-commands

These are some custom commands and assertions for nightwatch testing.


Version published
Maintainers
1
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 29 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc