Skip to content

Guest checkout allowed (Cypress)

### ✅ 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 created
import { story } from 'executable-stories-cypress';
it("Guest checkout allowed", () => {
story.init();
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");
});