Examples for the NightwatchJS tutorials on the reallyMello YouTube channel
- Tutorial - Writing your first Nightwatch.js test using page objects is in /pomExample
- Tutorial - Nightwatch TypeScript test example with Page Object Model is in /pomTypeScriptExample
- Tutorial - Advanced Nightwatch.js testing using the Page Object and Command API is in /dropDowns
- Using Nightwatch as an automated accessibility testing tool in /accessibilityExample
- MSSQL database testing in Nightwatch.js tests is in /databaseExample
- How to use SauceLabs with Nightwatch.js for automated browser testing is in /sauceLabsExample
- Implementing a minimum accessibility test plan using Nightwatch is in /a11yTestPlanExample
- NightwatchJS test globals tutorial for writing multi-environment test automation is in /environmentVariables
- How to integrate Testrail with NightwatchJS automated tests is in /testRailExample
- Automated Email Testing with Nightwatch and MailTrap is in /emailTests
- How to do API Testing with Nightwatch and SuperTest is in /apiTesting
Install NodeJS if you don't already have it.
- Clone the repository
- Run npm install nightwatch -g
Tests can be run by running the nightwatch command from a terminal in the root of the example directories