Skip to content

richardhendricksen/codeceptjs-playwright-with-mocking

Repository files navigation

Frontend integration testframeowrk with CodeceptJS and Playwright Build Status

Read more about it in my blog post here.

Run

npm test / yarn test: To run the tests.

Developing

Mocking

Add new endpoints to the endpoints.ts file. It contains of a regex string that matches the url, the HTTP method used (not used by Playwright) en the base folder for the scenario's.

Add scenario's for an endpoint in the designated base folder. Then mock the endpoint using await I.mockEndpoint(<endpoint>>, <scenario>>);

Linting

npm run lint / yarn lint: To lint the typescript files

About

Example CodeceptJS - Playwright framework with mocking support and pageobjects. Written in Typescript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors