Welcome to the PHP Testsparker - Playwright Automation Project! This project demonstrates test automation of the PHP Testsparker using Playwright and TypeScript.
This demo project focuses on automating various user interactions on the PHP Testsparker using Playwright with TypeScript. It includes tests for validating core functionality, verifying UI elements, and ensuring the integrity of critical workflows.
- Supports testing in different browsers
- Automated tests using Playwright for browser automation.
- Written in TypeScript for static typing and better developer experience.
Before running this project, ensure you have the following installed:
- Node.js (version >= 14.x)
- npm or yarn
Follow the steps below to get started with the PHP Testsite test automation demo:
-
Clone the repository:
git clone https://github.com/ozlemkorpe/php-testsparker-playwright.git
-
Install the dependencies: Navigate into the project folder and install the necessary packages:
cd php-testsite-automation npm install
-
Run the tests: To run all the automated tests:
npx playwright test
To run a specific test by its name:
npx playwright test --grep "Test Name"