Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@nightwatch/nx

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nightwatch/nx

The Nx Plugin for nightwatch contains executors and generators allowing your workspace to use the powerful nightwatch integration testing capabilities.

latest
Source
npmnpm
Version
0.2.3
Version published
Weekly downloads
27
17.39%
Maintainers
3
Weekly downloads
 
Created
Source

Nightwatchjs - nx plugin

This nx plugin sets up Nightwatch for you to be able to run your E2E tests.

Installation

To install you will need to do

npm i @nightwatch/nx --save-dev

Generating a project

nx g @nightwatch/nx:nightwatch-project

Writing Tests

To write your tests please follow the documentation on the Nightwatchjs.org site.

Running Tests

When you have written your tests you can run them with the following command

nx e2e my-app-e2e

NightwatchJS arguments will be forwarded on from nx

Keywords

Monorepo

FAQs

Package last updated on 05 Dec 2022

Did you know?

Socket

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