Ineligible customer does not get discount (Playwright)
Generated output
Section titled “Generated output”### ✅ Ineligible customer does not get discount
- **Given** the customer is not eligible for discounts- **When** the customer checks out- **Then** no discount should be appliedPlaywright code
Section titled “Playwright code”import { test } from '@playwright/test';import { story } from 'executable-stories-playwright';
test("Ineligible customer does not get discount", async ({}, testInfo) => { story.init(testInfo); story.given("the customer is not eligible for discounts"); story.when("the customer checks out"); story.then("no discount should be applied");});