Homepage • Developer Guide • API Reference • About • Blog
This is a Github Actions enabled sample project which runs the examples bundled with Nightwatch 2 in Google Chrome.
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
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
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