Back to Library
API
Banking API Scenario 3
Prompt
Generate a Playwright api test for a banking application handling scenario 3 with robust waits, network synchronization, proper assertions, error handling, and production-grade stability practices. Avoid hard waits and ensure reliability in CI environments.
Example Code
await page.goto('/'); await expect(page.locator('body')).toBeVisible();Quick Actions
PRO TIP
Paste this prompt as a comment in your .spec.ts file and let Copilot generate the test.