This repository contains automated API tests for the provided task.
- Node.js 16+
git clone git@github.com:ekeminiudoh/API-TEST--PLAYWRIGHT.gitcd API-TEST--PLAYWRIGHTnpm installTo run the tests, run the following command. This command will run the tests, generate a report and open it on the browser.
npx playwright testI used the default playwright reporting to generate a report after running the tests. To generate the report, run the following command after running the tests.
npx playwright show-reportThe report will be saved in the /playwright-report directory.
The CI/CD pipeline is configured in the .github/workflows/playwright.yml file to run the automated test on GitHub using the playwright Docker container runner.
To run the tests in GitHub CI/CD, push the code to the repository and the pipeline will be triggered automatically.
| 👤 Name | Github | GitLab | |
|---|---|---|---|
| Ekemini Udoh | @ekeminiudoh | @ekeminiudoh | @EkeminiUdoh |
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!