Skip to content

MugeshML/Simple-Books-API

Repository files navigation

Playwright API Automation Framework - Simple Books API

Project Overview

This project is an API automation framework developed using Playwright with JavaScript for the Simple Books API.

The framework follows industry-standard practices including:

  • Page Object Model (POM)
  • Parallel test execution
  • Cross-browser support
  • Allure reporting
  • Reusable API methods
  • Maintainable project structure

API Under Test:

https://simple-books-api.click


Technology Stack

Component Technology
Language JavaScript
Automation Tool Playwright
Design Pattern Page Object Model (POM)
Reporting Allure Report
Package Manager npm
Version Control Git/GitHub

Installation

Clone repository:

git clone https://github.com/your-username/Simple-Books-API.git

Move into project:

cd Simple-Books-API

Install dependencies:

npm install

Install Playwright browsers:

npx playwright install

Execute Test Cases

Run complete suite:

npm test

Run tests in Chrome:

npm run chrome

Run tests in Firefox:

npm run firefox

Run tests in parallel:

npm run parallel

About

API tests using Playwright for the Simple Books API with tricky operations (GET, POST with token, PATCH, DELETE).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors