https://github.com/elaichenkov/playwright-api-testing-example
This repository is created to demonstrate how easily can be using Playwright Test runner and odottaa for creating API tests. Check out the generated HTML report 👇
https://github.com/elaichenkov/playwright-api-testing-example
api-testing assertions example how-to odottaa playwright typescript
Last synced: about 1 month ago
JSON representation
This repository is created to demonstrate how easily can be using Playwright Test runner and odottaa for creating API tests. Check out the generated HTML report 👇
- Host: GitHub
- URL: https://github.com/elaichenkov/playwright-api-testing-example
- Owner: elaichenkov
- License: mit
- Created: 2022-04-08T08:19:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T00:17:22.000Z (about 1 year ago)
- Last Synced: 2025-02-28T13:31:59.962Z (2 months ago)
- Topics: api-testing, assertions, example, how-to, odottaa, playwright, typescript
- Language: TypeScript
- Homepage: https://elaichenkov.github.io/playwright-api-testing-example
- Size: 524 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
[](https://github.com/elaichenkov/playwright-api-testing-example/actions/workflows/playwright.yml)Read my article about [API testing with Playwright &Â odottaa](https://elaichenkov.medium.com/api-testing-with-playwright-odottaa-77451917342f).
Check out the [HTML report](https://elaichenkov.github.io/playwright-api-testing-example) that was published on GitHub pages.
## Usage
Clone the repository and run the following command:
```sh
npm install
```## Run tests
```sh
npm test
```Then, to open report run the following command:
```sh
npm run report
```It will open default browser and open the HTML report

## Run server (optionally)
```sh
npm start
```## Author
Yevhen Laichenkov
## License
[MIT](LICENSE)