Many login attempts (Playwright)
Generated output
Section titled “Generated output”Example: Many login attempts: [email protected] -> success
### ✅ Many login attempts: [email protected] -> success
- **Given** the user is on the login page- **Then** the login result should be "success"Playwright code
Section titled “Playwright code”import { test } from '@playwright/test';import { story } from 'executable-stories-playwright';
const manyLoginExamples = [ // ...];for (const row of manyLoginExamples) { test(`Many login attempts: ${row.email} -> ${row.result}`, async ({}, testInfo) => { story.init(testInfo); story.given("the user is on the login page"); story.when(`the user logs in with "${row.email}" and "${row.password}"`); story.then(`the login result should be "${row.result}"`); });}