diff --git a/site/cypress/integration/mon-entreprise/simulateur-salarie.ts b/site/cypress/integration/mon-entreprise/simulateur-salarie.ts index 6dfc93158..01ee2638f 100644 --- a/site/cypress/integration/mon-entreprise/simulateur-salarie.ts +++ b/site/cypress/integration/mon-entreprise/simulateur-salarie.ts @@ -28,7 +28,7 @@ describe('Simulateur salarié : part time contract', function () { .val() .toString() .replace(/[\s,.€]/g, '') - expect(parseInt(val)).to.be.above(1300).and.to.be.below(1600) + expect(parseInt(val)).to.be.above(1600).and.to.be.below(1700) }) }) diff --git a/site/source/components/SelectSimulationYear.tsx b/site/source/components/SelectSimulationYear.tsx index 860579407..91f3fcbda 100644 --- a/site/source/components/SelectSimulationYear.tsx +++ b/site/source/components/SelectSimulationYear.tsx @@ -15,7 +15,7 @@ const Bold = styled.span<{ $bold: boolean }>` export const SelectSimulationYear = () => { const dispatch = useDispatch() const year = useContext(EngineContext).evaluate('date') - const choices = [2022, 2023] + const choices = [2023, 2024] const actualYear = Number( year.nodeValue?.toString().slice(-4) || new Date().getFullYear() @@ -27,7 +27,7 @@ export const SelectSimulationYear = () => { Cette simulation concerne l'année{' '} - {{ actualYear }}.{' '} + {{ actualYear }}.{' '} <> {choices @@ -39,7 +39,7 @@ export const SelectSimulationYear = () => { dispatch(updateSituation('date', `01/01/${year}`)) } > - {actualYear === 2023 ? ( + {actualYear === 2024 ? ( Accéder au simulateur {{ year }}