Skip to content

Nightwatch 2 boilerplate project which runs the bundled examples in Github Actions against Google Chrome (using Xvfb)

License

Notifications You must be signed in to change notification settings

vishalshah133/nightwatch-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

Nightwatch 2 boilerplate project which runs the bundled examples in Github Actions against Google Chrome (using Xvfb)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%