crisemy/agentic-playwright ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python based test automation framework for a demo shopping app, using Playwright and pytest, with a clean page object structure. I want two ways to log in, one through the normal UI and one through a fast API login against a small mock backend, so the product tests can run quickly and without flaky browser steps.
Please include tests for login and product and cart flow, support Chromium and Firefox, and make it easy to run tests in parallel. Add a simple mock FastAPI server for auth and product data, plus configuration in a YAML file. I’d also like the framework to have some AI assisted self healing for broken locators, and a basic agent style test analysis setup that can help explain failures and choose relevant tests when code changes. If it makes sense, add a CI workflow and an HTML test report too. Use current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit