From b2c163d80e6d72fa0d3bca4ee9c7f979eb3fc90b Mon Sep 17 00:00:00 2001 From: Ken Blanchard Date: Fri, 25 Apr 2025 14:17:52 -0300 Subject: [PATCH] fix(frontend) fix heading structure --- frontend/app/routes/estimator/step-income.tsx | 8 ++++---- ...-to-en-income-renders-the-english-income-page-1.txt | 10 +++------- ...-to-fr-revenus-renders-the-french-income-page-1.txt | 10 +++------- 3 files changed, 10 insertions(+), 18 deletions(-) diff --git a/frontend/app/routes/estimator/step-income.tsx b/frontend/app/routes/estimator/step-income.tsx index 144ed0c..775859b 100644 --- a/frontend/app/routes/estimator/step-income.tsx +++ b/frontend/app/routes/estimator/step-income.tsx @@ -175,12 +175,12 @@ export default function StepIncome({ actionData, loaderData, matches, params }:
-

+

{isMarried ? t('estimator:income.form-instructions.married', { year: previousIncomeTaxReturnYear }) : t('estimator:income.form-instructions.single', { year: previousIncomeTaxReturnYear })} -

-

{t('estimator:income.heading.your-info')}

+

+

{t('estimator:income.heading.your-info')}

-

{t('estimator:income.heading.partner-info')}

+

{t('estimator:income.heading.partner-info')}

-

+

To estimate your benefits, we will need the following information from your 2024 tax return: -

-

Your information

+

+

Your information

@@ -141,7 +140,6 @@ autocomplete="off" name="individual-working-income" value="" - inputmode="numeric" />
@@ -210,7 +208,6 @@ autocomplete="off" name="individual-claimed-income" value="" - inputmode="numeric" />
@@ -279,7 +276,6 @@ autocomplete="off" name="individual-claimed-repayment" value="" - inputmode="numeric" />
diff --git a/frontend/e2e/__snapshots__/estimator/step-income.spec.ts/Navigating-to-fr-revenus-renders-the-french-income-page-1.txt b/frontend/e2e/__snapshots__/estimator/step-income.spec.ts/Navigating-to-fr-revenus-renders-the-french-income-page-1.txt index 4030900..75ee22a 100644 --- a/frontend/e2e/__snapshots__/estimator/step-income.spec.ts/Navigating-to-fr-revenus-renders-the-french-income-page-1.txt +++ b/frontend/e2e/__snapshots__/estimator/step-income.spec.ts/Navigating-to-fr-revenus-renders-the-french-income-page-1.txt @@ -14,11 +14,11 @@
-

+

Pour estimer vos prestations, nous aurons besoin des renseignements suivants de votre déclaration de revenus de 2024. -

-

Votre information

+

+

Votre information

$
@@ -142,7 +141,6 @@ autocomplete="off" name="individual-working-income" value="" - inputmode="numeric" />$
@@ -217,7 +215,6 @@ autocomplete="off" name="individual-claimed-income" value="" - inputmode="numeric" />$
@@ -292,7 +289,6 @@ autocomplete="off" name="individual-claimed-repayment" value="" - inputmode="numeric" />$