Files
perauset-e2e-mrfzptpr/e2e/tests/steps/health-check.steps.ts
2026-07-11 08:35:17 +02:00

11 lines
351 B
TypeScript

import { When, Then } from '@cucumber/cucumber'
import type { PerausetWorld } from '../support/world.js'
When('I send a GET request to {string}', async function (this: PerausetWorld, path: string) {
await this.get(path)
})
Then('the response status should be {int}', function (this: PerausetWorld, status: number) {
this.expectStatus(status)
})