https://github.com/nightwatchjs/nightwatch-plugin-nx
https://github.com/nightwatchjs/nightwatch-plugin-nx
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nightwatchjs/nightwatch-plugin-nx
- Owner: nightwatchjs
- License: mit
- Created: 2022-10-31T23:07:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-30T06:56:46.000Z (about 2 years ago)
- Last Synced: 2024-10-30T00:55:17.970Z (8 months ago)
- Language: TypeScript
- Size: 953 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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
```bash
npm i @nightwatch/nx --save-dev
```## Generating a project
```bash
nx g @nightwatch/nx:nightwatch-project
```## Writing Tests
To write your tests please follow the documentation on the [Nightwatchjs.org](https://www.nightwatchjs.org) site.
## Running Tests
When you have written your tests you can run them with the following command
```bash
nx e2e my-app-e2e
```NightwatchJS arguments will be forwarded on from nx