Available
API Testing
Synced from GitHub1m ago

Scalable API automation framework using Playwright (JavaScript) with reusable request utilities, environment configuration, parallel execution, schema validation, and CI/CD-ready setup. Designed following clean architecture principles.

View source Live site
git clone https://github.com/Aayush-Mishraa/API-Automation-Framework-Playwright.git
2Commits
7mo agoLast push
Feb 2026Created
24Files
1Stars
15.0 KBSize

Commit activity

33 weeks · 2 commits

Languages

by bytes of code
62.2%TypeScript
  • TypeScript62.2%
  • JavaScript37.8%

Commit rhythm

weekday × hour, your timezone
SunMonTueWedThuFriSat12a6a12p6p11p

Project anatomy

24 files · 5 folders
Commit log

Every change, as it happened

Straight from the default branch. Newest first — scroll to travel back in time.

2 commits

  1. featureHEAD → main
    Add README
    Aayush-Mishraab5f5af0
That's the first commit — where it all started.Full history on GitHub
README.md

Documentation

API Automation Framework (Playwright)

A small, focused Playwright setup for API testing with a mix of REST flows, schema validation, auth examples, and a few end-to-end API scenarios. I keep it simple: run the tests, get a clean HTML report, and iterate fast.

What is inside

  • Playwright Test runner for API and network validations
  • Schema validation with Ajv
  • JSONPath queries via jsonpath-plus
  • Examples for auth, CRUD, and E2E API flows

Project layout

.github/
playwright.config.ts
tests/
  apis/
    basicauth.spec.ts
    gorest.spec.ts
    gorest_crud.spec.ts
    gorest_e2e.spec.ts
    network_monitoring.spec.ts
    product_jsonpath.spec.ts
    schema_validation.spec.ts
    spotify_oauth2.spec.ts
  utils/
    APIutils.js

Prerequisites

  • Node.js 18+ (LTS recommended)
  • Git

Install

npm install

Run tests

All tests:

npx playwright test

Single file:

npx playwright test tests/apis/schema_validation.spec.ts

Single project:

npx playwright test --project=chromium

Report

Playwright produces an HTML report by default.

npx playwright show-report

Notes

  • Some specs may require API tokens or environment variables depending on the target service. Add them locally as needed.
  • If you are running on Windows and see line-ending warnings, it is safe to continue or configure Git with a .gitattributes file.

License

ISC

More in API Testing

Related projects

Like what you see?

Let's build something reliable together.

Get in touch