https://github.com/monikakonieczna/playwright-ts-api-testing
API Tests Automation Practice with Playwright.
https://github.com/monikakonieczna/playwright-ts-api-testing
api-testing playwright-api playwright-typescript test-automation-practice
Last synced: 3 months ago
JSON representation
API Tests Automation Practice with Playwright.
- Host: GitHub
- URL: https://github.com/monikakonieczna/playwright-ts-api-testing
- Owner: monikakonieczna
- Created: 2023-02-27T08:12:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-20T04:44:33.000Z (almost 2 years ago)
- Last Synced: 2025-01-26T14:07:27.886Z (8 months ago)
- Topics: api-testing, playwright-api, playwright-typescript, test-automation-practice
- Language: TypeScript
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Practice api test automation withon 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:- Playwright https://playwright.dev/
- TypeScript https://www.typescriptlang.org/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
```shell
npm run test
```
### Run all tests and show test report
```shell
npm run report
```
### Run smoke tests
```shell
npm run smoke-tests
```
### Run api tests for get operation
```shell
npm run test-get
```
### Run api tests for post operation
```shell
npm run test-post
```
### Run api tests for put operation
```shell
npm run test-put
```
### Run api tests for patch operation
```shell
npm run test-patch
```
### Run api tests for delete operation
```shell
npm run test-delete
```