Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codeceptjs/typescript-boilerplate

CodeceptJS v3 boilerplate project for TypeScript
https://github.com/codeceptjs/typescript-boilerplate

boilerplate typescript

Last synced: 15 days ago
JSON representation

CodeceptJS v3 boilerplate project for TypeScript

Awesome Lists containing this project

README

        

# CodeceptJS TypeScript Boilerplate

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

## Contents

* `codecept.conf.ts` - main configuration file
* `tests/**_test.ts` - test files
* `homePage.ts`, `loginPage.ts` - page objects
* `CustomHelper` - a custom helper
* `presettings.ts` - placeholder for bootstrap / teardown scripts