abauzac / nightwatch-typescript

Boilerplate for nightwatch end to end tests with typescript
18 stars 3 forks source link

Description

Simple boilerplate for nightwatch using typescript (and definitions). This configuration does not make use of Selenium. Only chromedriver is used so you don't need to install JavaJDK.

Install

Assuming you have node, typescript installed globally :

How to launch

In 3 different shells :

Todos :

Notes

Here we are using a fork a resemble-js : https://www.npmjs.com/package/node-resemble-js This fork doesn't make use of node-canvas (which has a lot of requirements depending on system host) The goal of this repo is to have the minimum viable project with node, nightwatch, typescript to do visual regression tests

Credit