The Prompt
Write a production-ready PyTest test script that automates the Shopping Cart flow. Ensure you include assertions, handle async operations properly, and include at least two negative test cases. Provide comments explaining the logic.
How to use this prompt
Copy this prompt to ChatGPT or Claude. Add your specific DOM structure or API contract for the Shopping Cart feature to get a customized PyTest test script.