Skip to content

API Test Automation Examples using INGenious Playwright Studio for practicesoftwaretesting.com

Notifications You must be signed in to change notification settings

testsmith-io/api-test-automation-ingenious-playwright-studio

Repository files navigation

API Test Automation with INGenious Playwright Studio

API Test Automation with INGenious Playwright Studio

This repository contains example scripts for API test automation using:

  • INGenious Playwright Studio

Features

  • Examples of GET, POST, and Protected API requests.
  • Clear demonstration of test automation practices with assertions and chaining requests.
  • Fully automated CI pipeline using GitHub Actions.

Test API

All examples in this repository are designed to work with the Practice Software Testing API, a publicly available API for learning and practicing software testing. You can explore the API documentation and endpoints here:
👉 Practice Software Testing API 👈

Examples Included

  1. GET Request: Fetch a list of brands with GET /brands.
  2. Login API: Authenticate using POST /login with an email/password payload.
  3. Protected API Request: Authenticate, then use a token to fetch data with GET /invoices.

Prerequisites

  • INGenious Playwright Studio

Setup and Run

  1. Clone this repository:
    git clone https://github.com/testsmith-io/api-test-automation-ingenious-playwright-studio.git
  2. Navigate to the project directory:
    cd api-test-automation-ingenious-playwright-studio
  3. Open INGenious Playwright Studio and run the tests:
  • Windows

    Double click on the Run.bat in the framework location

  • Mac or Ubuntu

    1. Open Terminal in the installation location and then type
    chmod +x Run.command
    1. Then double click on the Run.command
    2. If you see It's Downloaded From Internet warning then enter the following command in terminal:
    xattr -d -r com.apple.quarantine "/path/to/the framework"

Automated Workflow

The repository includes a GitHub Actions workflow to automatically execute the tests.

About

API Test Automation Examples using INGenious Playwright Studio for practicesoftwaretesting.com

Topics

Resources

Stars

Watchers

Forks