NSY-script/flow-driven-ui-testing — reverse-engineered prompt
Reverse engineered prompt
Build me a Python based UI test automation framework for an e commerce demo store using Selenium and Pytest.
I want it organized so tests are easy to read and maintain, with page objects for the main store pages and higher level user flows for things like registration, login, product search, cart, wishlist, checkout, account updates, downloads, and order history. Please include reusable helpers for browser actions, waits, screenshots, logging, and common assertions.
Use JSON files for test data, and create a good set of smoke, sanity, regression, critical, login, cart, and checkout tests. I’d like to be able to run all tests or only certain categories from the command line. Make it work locally in Chrome or Firefox, with a headless option.
Please add HTML, JUnit, and Allure reporting, save screenshots on failures, and include GitHub Actions so tests run on pushes, pull requests, a daily schedule, and manually. Also include Docker support and clear README instructions for setup and running the tests.
Want more depth? Deep Reverse