akshayp7/playwright-typescript-playwright-test — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a ready to use Playwright and TypeScript test automation starter that I can clone and start using for real projects. I want it to cover website UI tests, API tests, mobile device emulation, visual screenshot comparison, and a few helper examples for database checks and file handling. Please set it up so I can run everything, run a single test, or run tagged tests in parallel or in sequence, with simple environment switching like qa and dev.

Make the framework easy to extend, with reusable page objects, shared utilities, and sample tests. On failures, capture screenshots, videos, and trace files. Generate nice reports I can open afterward, including Allure and HTML style reports. I also want Lighthouse performance checks, Docker support, and CI that runs on push or pull request and can send a Slack notification with the report link when finished.

Please include clear setup instructions and sensible defaults so it works out of the box. If anything is unclear, check the current docs online and fill in the gaps.

Want more depth? Deep Reverse