Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 2.17 KB

README.md

File metadata and controls

51 lines (30 loc) · 2.17 KB

Nightwatch.js Examples

npm Node.js CI Discord

Nightwatch.js Logo

This is a Github Actions enabled sample project which runs the examples bundled with Nightwatch 2 in Google Chrome.

Run the Tests

Clone the repository or click the "Use this template" button. Then install the dependencies and run the tests:

npm install

This will run the tests in Chrome:

npm test

The generated HTML report is deployed automatically to:

https://nightwatchjs-community.github.io/nightwatch-examples

Reporting

Nightwatch 2.2 brings its own HTML reporter which better aggregate test results in a user-friendly HTML view. Read more about using HTML reporter

Preview

html-report

Publishing HTML Test Report using Github

Github actions can be used to run your nightwatch tests and publish your test report to Github Pages Here is the test report generated using Github Actions and Pages.

Checkout the Blog about setting up Nightwatch tests on Github Actions and publishing test report on Github Pages