This is a boilerplate project which includes CodeceptJS + Playwright setup using TypeScript.
Clone this repository to start:
git clone https://github.com/codeceptjs/typescript-boilerplate .
Remove
.git
folder as you won't need it anymore
Install dependencies:
npm i
codecept.conf.js
- main configuration filetests/**_test.ts
- test fileshomePage.ts
,loginPage.ts
- page objectsCustomHelper
- a custom helperpresettings.ts
- placeholder for bootstrap / teardown scripts