https://github.com/codewithmmak/playwright-api-testing
This is a Playwright API testing framework designed to demonstrate playwright api testing example
https://github.com/codewithmmak/playwright-api-testing
api-testing-framework faker-js playwright playwright-demo playwright-javascript playwright-tests rimraf
Last synced: 7 months ago
JSON representation
This is a Playwright API testing framework designed to demonstrate playwright api testing example
- Host: GitHub
- URL: https://github.com/codewithmmak/playwright-api-testing
- Owner: codewithmmak
- Created: 2023-03-18T14:49:20.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-05T18:52:57.000Z (over 1 year ago)
- Last Synced: 2024-03-05T19:59:14.415Z (over 1 year ago)
- Topics: api-testing-framework, faker-js, playwright, playwright-demo, playwright-javascript, playwright-tests, rimraf
- Language: JavaScript
- Homepage:
- Size: 116 KB
- Stars: 7
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
# Playwright API Testing Setup Guide
---This is a Playwright API testing framework designed to demonstrate playwright api testing example
## Features of this framework
* Playwright API Testing## Getting started
### Pre-requisites
* Download and install Node.js
* Download and install any Text Editor like Visual Code/Sublime/Brackets### Setup Scripts
* Clone the repository into a folder
* Go to Project root directory and install Dependency: `npm install`
* All the dependencies from package.json would be installed in node_modules folder.### Install Visual Code Extension (Optional)
* Playwright Test for VSCode
* GitLens — Git supercharged by GitKraken
* Material Icon Theme### Update Visual Code Settings
* Go to Visual Code Preference > Setting and search `formatOnSave` and enable/ON it.## How to Run Test Locally
* Go to the Project root directory and run command: `npm test`## How to Run Single Spec Locally
* Go to the Project root directory and run command: `npx playwright test tests/01_post_static_data.spec.js`## How to view default Playwright HTML report
* Go to the Project root directory: `./playwright-report/index.html`### Playwright HTML Test Report
