rajatt95/Playwright_TS — reverse-engineered prompt

Reverse engineered prompt

Build me a solid Playwright test automation project in TypeScript that I can open in VS Code and start using right away for both website testing and API testing.

I want it to feel like a real world starter kit, with page objects for UI tests, reusable helpers, and sample tests that show login style flows, API checks, and data driven testing with multiple datasets. Please make it easy to run tests in parallel, serially, or normally, and have it work across major browsers with viewport or device coverage where it makes sense.

I also want the useful testing extras set up, like retries, tags, annotations, screenshots, videos, trace files, and saved PDFs where appropriate. Add reporting that is easy to read after a run, including the usual Playwright report and Allure style output if possible. If a test fails, I want enough artifacts to debug it quickly.

Please keep the project clean and practical, and look up current docs online if you need to.

Want more depth? Deep Reverse