From 124853b13309b539a7415725a9c3033afbef8956 Mon Sep 17 00:00:00 2001 From: Arnaud AMBROSELLI Date: Mon, 15 Jan 2024 14:45:06 +0100 Subject: [PATCH] fix: remplace Status par Statut --- dashboard/src/recoil/actions.js | 2 +- dashboard/src/recoil/consultations.ts | 2 +- e2e/actions_crud.spec.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard/src/recoil/actions.js b/dashboard/src/recoil/actions.js index a0ea90059..168dc2b10 100644 --- a/dashboard/src/recoil/actions.js +++ b/dashboard/src/recoil/actions.js @@ -61,7 +61,7 @@ export const allowedActionFieldsInHistory = [ { name: 'urgent', label: 'Action urgente' }, { name: 'completedAt', label: 'Faite le' }, { name: 'dueAt', label: 'À faire le' }, - { name: 'status', label: 'Status' }, + { name: 'status', label: 'Statut' }, ]; export const prepareActionForEncryption = (action, { checkRequiredFields = true } = {}) => { diff --git a/dashboard/src/recoil/consultations.ts b/dashboard/src/recoil/consultations.ts index b9712fe51..dc4643cea 100644 --- a/dashboard/src/recoil/consultations.ts +++ b/dashboard/src/recoil/consultations.ts @@ -51,7 +51,7 @@ export const consultationsFieldsIncludingCustomFieldsSelector = selector({ { name: 'teams', label: ':Equipe(s) en charge' }, { name: 'completedAt', label: 'Faite le' }, { name: 'dueAt', label: 'À faire le' }, - { name: 'status', label: 'Status' }, + { name: 'status', label: 'Statut' }, ...flattenedCustomFieldsConsultations.map((f) => { return { name: f.name, diff --git a/e2e/actions_crud.spec.ts b/e2e/actions_crud.spec.ts index 1cebc4759..57b181138 100644 --- a/e2e/actions_crud.spec.ts +++ b/e2e/actions_crud.spec.ts @@ -56,7 +56,7 @@ test("Actions", async ({ page }) => { await page.locator(`[data-test-id="Nom de l'action\\: \\"${action1Name}\\" ➔ \\"${action2Name}\\""]`).click(); await page.locator(`[data-test-id="Description\\: \\"\\" ➔ \\"plouf\\""]`).click(); await page.locator('[data-test-id="Action urgente\\: \\"\\" ➔ true"]').click(); - await page.locator('[data-test-id="Status\\: \\"A FAIRE\\" ➔ \\"FAIT\\""]').click(); + await page.locator('[data-test-id="Statut\\: \\"A FAIRE\\" ➔ \\"FAIT\\""]').click(); await page.getByText("Fermer").click();