GH
ghoshasish99/api-test-automation-ingenious-playwright-studio
API Test Automation Examples using INGenious Playwright Studio for practicesoftwaretesting.com
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
- GET Request: Fetch a list of brands with
GET /brands. - Login API: Authenticate using
POST /loginwith an email/password payload. - Protected API Request: Authenticate, then use a token to fetch data with
GET /invoices.
Prerequisites
- INGenious Playwright Studio
Setup and Run
- Clone this repository:
git clone https://github.com/testsmith-io/api-test-automation-ingenious-playwright-studio.git
- Navigate to the project directory:
cd api-test-automation-ingenious-playwright-studio - Open INGenious Playwright Studio and run the tests:
-
WindowsDouble click on the
Run.batin the framework location -
Mac or Ubuntu- Open Terminal in the installation location and then type
chmod +x Run.command
- Then double click on the
Run.command - 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.