Guest checkout allowed (Vitest)
Generated output
Section titled “Generated output”### ✅ Guest checkout allowed
- **Given** the user is on the checkout page- **And** the user is not logged in _Note:_ But guest checkout is enabled- **When** the user submits an order as a guest- **Then** the order should be createdVitest code
Section titled “Vitest code”it("Guest checkout allowed", ({ task }) => { story.init(task); story.given("the user is on the checkout page"); story.given("the user is not logged in"); story.note("But guest checkout is enabled"); story.when("the user submits an order as a guest"); story.then("the order should be created");});