Skip to content

monikakonieczna/playwright-ts-api-testing

Repository files navigation

Practice api test automation with Playwright Logo on Restful-booker

Note

  • Restful-booker is a public REST API that you can use to learn more about API Testing or try out API testing tools against. Restful-booker is a Create Read Update Delete Web API that comes with authentication features and loaded with a bunch of bugs for you to explore.

PLaywright features

API testing using:

This tests are purely for Playwright features practice.

Getting Started

Prerequisites

You need to have Node.js installed on your machine.

Useful Commands

Run all tests in Playwright

npm run test

Run all tests and show test report

npm run report

Run smoke tests

npm run smoke-tests

Run api tests for get operation

npm run test-get

Run api tests for post operation

npm run test-post

Run api tests for put operation

npm run test-put

Run api tests for patch operation

npm run test-patch

Run api tests for delete operation

npm run test-delete

Releases

No releases published

Packages

No packages published