diff --git a/web/frontend/tests/formIndex.spec.ts b/web/frontend/tests/formIndex.spec.ts index bd82464c2..56f83d3d4 100644 --- a/web/frontend/tests/formIndex.spec.ts +++ b/web/frontend/tests/formIndex.spec.ts @@ -85,7 +85,7 @@ test('Assert no forms are displayed for empty list', async ({ page }) => { }); async function assertQuickAction(row: locator, form: object, sciper?: string) { - const user = sciper === SCIPER_USER ? User : sciper === SCIPER_ADMIN ? Admin : undefined; + const user = sciper === SCIPER_USER ? User : (sciper === SCIPER_ADMIN ? Admin : undefined); // eslint-disable-line const quickAction = row.getByTestId('quickAction'); switch (form.Status) { case 1: