Playwright Integrated with Cucumber Kickoff Launchpad
PICKL is a modern BDD test automation boilerplate that combines Playwright's powerful browser automation with Cucumber's human-readable Gherkin syntax. Built with TypeScript and ESM, it provides everything you need to write, run, and maintain scalable end-to-end tests.
- Multi-browser Support - Run tests on Chromium, Firefox, and WebKit
- Flexible Tag-Based Filtering - Organize and run tests using
@smoke,@regression, or custom tags - Real-time Progress Display - Custom verbose formatter with emoji indicators (β³ β β /β/β)
- Built-in Summary - Automatic test execution summary with scenario and step counts
- Headless & Headed Modes - Debug with visible browsers or run headlessly in CI/CD
- HTML Reports - Beautiful single-page reports with cucumber-html-reporter
- Automated PR Comments - Test results automatically posted to pull requests with pass/fail summary
- Dark Mode Toggle - Built-in light/dark theme switcher with localStorage persistence
- Custom Favicon - Distinctive pickle emoji π₯ branding
- Auto-open Reports - Reports automatically open in your browser after generation
- JSON Export - Raw test results for CI/CD integration
- Artifact Retention - Test results, screenshots, and videos stored for 30 days
- VS Code Integration - Tasks for running tests from Command Palette
- Cucumber Language Support - Syntax highlighting, go-to-definition, and autocomplete
- TypeScript + ESM - Modern JavaScript with full type safety
- Environment Configuration - Flexible
.envfile for local customization - Unified Test Runner - Single
npm testcommand with CLI flags support
- ESLint + Prettier - Consistent code formatting and linting
- Page Object Model - Maintainable test structure with reusable page objects
- Custom World - Shared context across scenarios with automatic browser management
- Hooks & Formatters - Extensible test lifecycle with custom formatters
- Getting Started - Installation and initial setup guide
- Running Tests - Complete guide to executing tests
- Learning Path - Structured 4-week curriculum
- Training Exercises - Hands-on practice exercises
- Common Mistakes - Avoid these 28 common pitfalls
- Writing Tests - Gherkin syntax and feature file basics
- API Reference - Complete API documentation
- Architecture - Framework patterns and internals
- Glossary - BDD, Playwright, and testing terminology
- Contributing Guide - How to contribute to PICKL
- npm Scripts Reference - Complete guide to available scripts
- Branching Strategy - Git workflow guidelines
- Pull Request Guide - PR best practices
- Naming Convention - Code naming standards
- Secrets Management - Handling sensitive data and environment variables
- Security Policy - Vulnerability reporting and security measures
- Troubleshooting - Solutions for common errors
# Install dependencies
npm install
# Run all tests
npm test
# Run smoke tests
npm test -- --tags @smoke
# Run specific feature
npm test -- test/features/login.feature
# Generate report
npm run report
# Clean up artifacts and caches
npm run clean:all- Playwright v1.56.1 - Browser automation
- Cucumber v12.2.0 - BDD test framework
- TypeScript v5.9.3 - Type-safe JavaScript
- cucumber-html-reporter v7.2.0 - HTML report generation
- tsx v4.20.6 - TypeScript execution
- ESLint + Prettier - Code quality tools