testsuite2
v2.2.0
Published
A package containing E2E testcases for a web assignment
Downloads
35
Readme
UWIDCIT Test Suite 2
Version 2.0.0 A collection of E2E test cases for a web assignment.
Installation
$ npm i --save testsuite2Then require the package in your mocha test file:
//inside test.js
const {runTests} = require('./index.js');
const config = require('./config.json');
runTests(config);
You can customize puppeteer'l launch options via config.json
Running Tests
Ensure your site is running on http://localhost:8080/index.html then execute your test using mocha.comment
$ mocha test.js