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
This boilreplate installs Playwright for you. However, you can easily switch to WebDriver or other engine of choice by adding a corresponding helper and installing required dependencies
codecept.conf.ts
- main configuration filetests/**_test.ts
- test fileshomePage.ts
,loginPage.ts
- page objectsCustomHelper
- a custom helperpresettings.ts
- placeholder for bootstrap / teardown scripts