This repository contains simple automation test framework written with JavaScript, Playwright and CucumberJs.
If you want to run test locally, please follow these steps:
- Clone this repository
- Make sure you have
node.js
installed. If you don't, please visit official website for instructions (node version > 14.0.0 , v14.17.0 is recommended) - Run
npm install
to install node modules - To debug run "npm run debug"
- To enable video recording set PWVIDEO=1
If you want to run it in headed mode, then change options to headless: true
in hooks.js