Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 959 Bytes

File metadata and controls

29 lines (17 loc) · 959 Bytes

POC Playwright API

This automation project describes API tests implementing Playwright with Typescript.

Configuration

Execute tests from Docker

"docker-compose" file configures database and application server, and executes tests.

Build and run the containers:

docker-compose up --build --force-recreate

From local environment

If you want to run tests from your local environment against the sample site, first of all you will need to install project dependencies:

npm install

Next, you will need to run the docker compose file to create a simplified development environment consisting only of the application server and database.

docker-compose -f docker-compose-sample-site-only.yml up --build --force-recreate

Then you can run tests executing the command:

npm run test