What problem does it solve?
Writing maintainable browser automation tests in Java requires consistent architecture, thread-safe parallel execution, and reliable waits. This Skill provides the patterns, base classes, and configuration needed to build Playwright Java test suites without flaky tests or ad-hoc structure.
Core Features & Use Cases
- Project Scaffolding: Generates a complete Maven project layout with pom.xml, ConfigReader, BaseTest, and BasePage following the Page Object Model.
- Thread-Safe Parallel Execution: Implements ThreadLocal-based Playwright/Browser/Context/Page lifecycle with JUnit 5 parallel configuration.
- Allure Reporting & Tracing: Integrates Allure annotations, screenshot attachments, and Playwright trace/video capture for debugging failures.
- Use Case: A QA engineer needs to automate login and checkout flows across Chromium, Firefox, and WebKit in CI. The Skill produces the page objects, parameterized cross-browser tests, GitHub Actions pipeline, and Allure reporting setup.
Quick Start
Ask the AI to scaffold a new Playwright Java test project with a LoginPage page object and a JUnit 5 test class using the Page Object Model.