Write end-to-end tests with Playwright
Write resilient Playwright tests for full user flows using the page object model. Covers the happy path plus two failure states with stable selectors.
Preview
Copy prompt
Write Playwright end-to-end tests for the following user flow: [Describe the flow]. Implement the page object model pattern for all page interactions. Cover the full happy path, at least two distinct failure states such as invalid input or a network error, and add UI state assertions after every significant action. Make selectors resilient to minor markup changes by preferring accessible roles and data attributes.
More
Testing
Prompts
