Back to Library
Edge
Empty State Validation
Prompt
Generate Playwright test that validates UI behavior when API returns empty data.
Example Code
await expect(page.locator('.empty')).toBeVisible();Quick Actions
PRO TIP
Paste this prompt as a comment in your .spec.ts file and let Copilot generate the test.