chore: perauset customer project

This commit is contained in:
e2e
2026-07-11 08:21:55 +02:00
commit 52cd52e41a
293 changed files with 28412 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import { When } from '@cucumber/cucumber'
import type { PerausetWorld } from '../support/world.js'
When('I create a meal service of type {string} on {string} with headcount {int}', async function (this: PerausetWorld, serviceType: string, serviceDate: string, plannedHeadcount: number) {
await this.post('/kitchen/meal-services', {
serviceType,
serviceDate,
plannedHeadcount,
})
})
When('I list meal services', async function (this: PerausetWorld) {
await this.get('/kitchen/meal-services')
})
When('I upsert my dietary profile as vegan with nut allergy', async function (this: PerausetWorld) {
await this.put('/kitchen/dietary-profile', {
isVegan: true,
hasNutAllergy: true,
allergyNotes: 'Severe nut allergy',
})
})