chinmayvelankar07/OpenCartPWFramework — reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript Playwright automation framework for an OpenCart demo site. I want it set up like a real QA project, with page objects, reusable utilities, fixtures, test data, and tests that cover the main customer flows like opening the site, searching products, viewing product details, adding items to the cart, and checkout related steps where possible.
Please include environment based configs for dev, qa, and stage, plus a default Playwright config. Add good reporting so after the tests run I can view the normal Playwright HTML report and an Allure report. I also want a GitHub Actions workflow that runs the tests and publishes the reports to GitHub Pages, with badges in the README for workflow status and report links.
Keep the code clean and easy to extend, with TypeScript types where useful, linting, and npm scripts for running tests and reports locally. If you need exact Playwright or Allure setup details, look up the current docs online.
Want more depth? Deep Reverse