This repo contains the code used in the Headless Testing Webinar hosted on Oct 29, 2019.
The project is fairly straightforward, with no non-test code.
All the tests are inside the tests/ folder. Every test imports the file tests/testHelper.js for its before function. The before function is used to set up the remote webdriver and gives us a single file to change to affect every test run.
- Run
npm installto fetch the dependencies - From the root folder (where this readme and
package.jsonare) run./node_modules/.bin/mocha-parallel-tests --max-parallel N ./tests/*.spec.jswhereNis the number of tests to run in parallel.
If there is something you'd like us to address, (or just to be aware of,) feel free to reach out to us via the in-app chat feature, via our contact form, or by creating an issue on this repo! We'd love to hear from you.