suneinajemima/saucedemo-playwright-hybrid-framework ? reverse-engineered prompt

Reverse engineered prompt

Build me a Playwright based test automation framework for the SauceDemo site, using a hybrid structure with reusable page objects and clear test data driven tests.

I want it set up so I can run the full login and shopping flow tests easily, with a global setup step, test data kept separate from the tests, and page classes that make the tests easy to read and maintain. Please include the basic project wiring, example tests, and anything needed so the suite runs cleanly from the command line.

Make it simple to extend later, with a good folder structure for pages, test data, and specs, and add sensible defaults for reporting and browser setup. If anything about the latest Playwright setup has changed, look up the current docs online and use the recommended approach.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab