diff --git a/src/lib/components/tutorial/StartTutorial.svelte b/src/lib/components/tutorial/StartTutorial.svelte index c6ce460fb705018900ce4efe421da51a8c8f793d..3bae28a763f189f4b7c8a19439fefd7e50c690ff 100644 --- a/src/lib/components/tutorial/StartTutorial.svelte +++ b/src/lib/components/tutorial/StartTutorial.svelte @@ -48,7 +48,7 @@ <!--<div class="bg-white border-le-bleu-light border-4 shadow-lg rounded-md mx-5"> <h1 class="bg-le-bleu-light text-2xl font-light text-gray-600 py-3 px-4 "> - Modifier la loi en vigueur + Modifier le droit vigueur en vigueur </h1> <p class="py-2 px-4 font-light text-gray-600"> Pour changer les paramètres de la loi, rendez-vous sur un des cas types à diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 730a1766cfd9f85357cf085be2a2d5e4100adc74..e74ca8d3011bf5729ce631122ec2ecd76572cc63 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -648,7 +648,7 @@ <h1 class="mb-5 ml-5 hidden border-b border-black pb-3 text-3xl font-bold text-black md:flex md:pt-12 md:text-2xl lg:pt-11 lg:text-3xl" > - Modifier la loi + Modifier le droit vigueur </h1> {#if displayMode.parameterName !== undefined} @@ -692,7 +692,7 @@ <h1 class="mb-5 ml-5 flex border-b border-black pt-1 pb-3 text-xl font-bold text-black md:hidden" > - Modifier la loi + Modifier le droit vigueur </h1> <div class="ml-5 bg-white"> <NonVariableReferredParameter @@ -740,7 +740,7 @@ <h1 class="ml-3 flex border-b border-black pt-3 pb-3 text-2xl font-bold text-black md:hidden" > - Modifier la loi + Modifier le droit vigueur </h1> <!--Partie II modification de la loi - MOBILE--> {#if Object.keys($parametricReform).length !== 0} @@ -816,7 +816,7 @@ <h1 class="ml-3 flex border-b border-black pt-3 text-2xl font-bold text-black md:hidden" > - Modifier la loi + Modifier le droit vigueur </h1> <!--Partie II modification de la loi - MOBILE - vue choisir un dispositif --> {#if Object.keys($parametricReform).length !== 0} diff --git a/tests/test.ts b/tests/test.ts index 4356558f2ac8a06f8a8c32075c63ed2ca2afcb89..c2257ee6e1072f3ba503cb6d68e207f9164bae6e 100644 --- a/tests/test.ts +++ b/tests/test.ts @@ -2,5 +2,5 @@ import { expect, test } from "@playwright/test" test("index page has expected h1", async ({ page }) => { await page.goto("/") - expect(await page.textContent("h1")).toContain("Modifier la loi") + expect(await page.textContent("h1")).toContain("Modifier le droit vigueur") })