Playwright E2E Shopfront Boilerplate
End-to-End Test Automation for Shopfront
This project demonstrates setting up and executing end-to-end automated tests for an online shopping web application using Playwright.
Project Overview
We’ve created a GitHub project to showcase the typical Issues and Pull Requests involved in establishing an Automated E2E Test Framework.
Key Milestones
Test Scripts
We’ve developed three example test scripts:
- Login functionality
- Product browsing and cart management
- User flow recorded with Codegen
Test Reporting
Our repository is configured with two GitHub Actions:
- Build and Test: Runs on push to any branch, uses JUnit reporter, and posts results as PR comments.
- CI - Shopfront E2E Test Suite: Runs on PRs against the
mainbranch, uses HTML reporter, and uploads reports for download.
Maintenance
For details on maintaining this test framework, please refer to our CONTRIBUTING guide.
Getting Started
To use this boilerplate:
- Clone the repository
- Install dependencies:
npm install - Run tests:
npm test
Contributing
We welcome contributions! Please see our CONTRIBUTING guide for more information.
License
This project is MIT licensed.