diff --git a/frontend/e2e/nl-search.spec.ts b/frontend/e2e/nl-search.spec.ts index 210ad173..2bebecee 100644 --- a/frontend/e2e/nl-search.spec.ts +++ b/frontend/e2e/nl-search.spec.ts @@ -37,6 +37,8 @@ test.describe('NL (smart) search — happy path', () => { }) => { // Deliberate delay so the loading state is assertable before the response arrives. await page.route('**/api/search/nl', async (route) => { + const body = route.request().postDataJSON(); + expect(body.lang).toBeTruthy(); await new Promise((resolve) => setTimeout(resolve, 150)); await route.fulfill({ status: 200,