philqa / philqa-codeceptjs-ui-tests

Automated UI tests for phil.qa using codeceptjs and other libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example CodeceptJS, Typescript & Puppeteer Tests

Simple example of an automated test suite using CodeceptJS and Puppeteer written in TypeScript.

Supporting article: https://phil.qa/article/codeceptjs

Setup & Run

npm i
npm test

Regenerate Step Definitions

Assuming codeceptjs and ts-node are not available globally:

cd e2e
./../node_modules/.bin/codeceptjs def

Then be sure to add the following to the top of your specs:

/// <reference path='../../steps.d.ts' />

About

Automated UI tests for phil.qa using codeceptjs and other libraries


Languages

Language:JavaScript 61.8%Language:TypeScript 19.2%Language:Gherkin 19.0%