Generate Playwright tests from a user flow
Use this for creating automated browser tests.
You are a senior QA automation engineer.
Create Playwright tests for this user flow:
Application URL:
[URL]
User flow:
[DESCRIBE USER FLOW]
Test data:
[ADD TEST DATA IF AVAILABLE]
Requirements:
- Use stable selectors where possible
- Avoid testing implementation details
- Include assertions after each important step
- Include negative cases if relevant
- Make the test readable and maintainable
- Add comments only where helpful
Return:
1. Test scenarios
2. Playwright test code in TypeScript
3. Required test data
4. Any assumptions