From 1782b2d7f5b85873a6ac03d01a63d36b5457c696 Mon Sep 17 00:00:00 2001 From: Jeremy PASTOURET Date: Mon, 3 Feb 2025 09:54:09 +0100 Subject: [PATCH 1/6] =?UTF-8?q?fix:=20passage=20=C3=A0=20priv=C3=A9e=20d'u?= =?UTF-8?q?ne=20aide=20pour=20le=20bafa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../javascript/etat-aide-nationale-service-civique-bafa-bafd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/data/benefits/javascript/etat-aide-nationale-service-civique-bafa-bafd.yml b/data/benefits/javascript/etat-aide-nationale-service-civique-bafa-bafd.yml index 100473c971..0637a4821f 100644 --- a/data/benefits/javascript/etat-aide-nationale-service-civique-bafa-bafd.yml +++ b/data/benefits/javascript/etat-aide-nationale-service-civique-bafa-bafd.yml @@ -13,3 +13,4 @@ periodicite: ponctuelle montant: 100 link: https://www.jeunes.gouv.fr/une-aide-financiere-de-100eu-pour-les-volontaires-en-service-civique-pour-passer-leur-bafa-bafd instructions: https://www.asp-public.fr/aides/aide-a-la-formation-bafa-bafd-dans-le-cadre-du-service-civique +private: true From 915363cee4abd7487baf5c3fbda3df00b5c8f91c Mon Sep 17 00:00:00 2001 From: Jeremy PASTOURET Date: Mon, 3 Feb 2025 10:03:12 +0100 Subject: [PATCH 2/6] =?UTF-8?q?feat:=20mise=20=C3=A0=20jour=20du=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cypress/e2e/student.cy.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cypress/e2e/student.cy.js b/cypress/e2e/student.cy.js index a634535995..bede830e88 100644 --- a/cypress/e2e/student.cy.js +++ b/cypress/e2e/student.cy.js @@ -24,7 +24,7 @@ context("Full simulation", () => { foyer.fill__situation("separes") foyer.fill_bourse_criteres_sociaux_nombre_enfants_a_charge(1) foyer.fill_bourse_criteres_sociaux_nombre_enfants_a_charge_dans_enseignement_superieur( - 1 + 1, ) logement.fill__logementType("locataire") @@ -39,7 +39,7 @@ context("Full simulation", () => { logement.fill__en_france(true) logement.fill_depcom( "75001", - "_bourseCriteresSociauxCommuneDomicileFamilial" + "_bourseCriteresSociauxCommuneDomicileFamilial", ) logement.fill__nombreMoisEntreeLogement(-2) @@ -55,7 +55,6 @@ context("Full simulation", () => { projet.fill__dureeMoisEtudesEtranger(2) results.wait() - results.hasBafaGroupPreviewBenefit(true) navigate.goToBafaBenefitsPage() results.hasBafaBenefit() results.back() From b87bea57239acce7a9ee8b74b8a4a628bd1bcd0f Mon Sep 17 00:00:00 2001 From: Jeremy PASTOURET Date: Mon, 3 Feb 2025 10:37:35 +0100 Subject: [PATCH 3/6] =?UTF-8?q?fix:=20supprime=20des=20tests=20obsol=C3=A8?= =?UTF-8?q?tes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cypress/e2e/student.cy.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/cypress/e2e/student.cy.js b/cypress/e2e/student.cy.js index bede830e88..c87a6b9e0c 100644 --- a/cypress/e2e/student.cy.js +++ b/cypress/e2e/student.cy.js @@ -55,9 +55,7 @@ context("Full simulation", () => { projet.fill__dureeMoisEtudesEtranger(2) results.wait() - navigate.goToBafaBenefitsPage() results.hasBafaBenefit() - results.back() results.hasVeloGroupPreviewBenefit(true) navigate.goToAidesVeloBenefitsPage() From abc7e74f90333091000fbc03c845228afde86754 Mon Sep 17 00:00:00 2001 From: Jeremy PASTOURET Date: Mon, 3 Feb 2025 11:01:51 +0100 Subject: [PATCH 4/6] ajout de lint manuel --- cypress/e2e/student.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/student.cy.js b/cypress/e2e/student.cy.js index c87a6b9e0c..cf151b0d77 100644 --- a/cypress/e2e/student.cy.js +++ b/cypress/e2e/student.cy.js @@ -24,7 +24,7 @@ context("Full simulation", () => { foyer.fill__situation("separes") foyer.fill_bourse_criteres_sociaux_nombre_enfants_a_charge(1) foyer.fill_bourse_criteres_sociaux_nombre_enfants_a_charge_dans_enseignement_superieur( - 1, + 1 ) logement.fill__logementType("locataire") @@ -39,7 +39,7 @@ context("Full simulation", () => { logement.fill__en_france(true) logement.fill_depcom( "75001", - "_bourseCriteresSociauxCommuneDomicileFamilial", + "_bourseCriteresSociauxCommuneDomicileFamilial" ) logement.fill__nombreMoisEntreeLogement(-2) From 86febbff31b40e5dea6ab93bb0da87a0ec7c16e8 Mon Sep 17 00:00:00 2001 From: Jeremy PASTOURET Date: Fri, 7 Feb 2025 14:43:50 +0100 Subject: [PATCH 5/6] =?UTF-8?q?report=20des=20tests=20bafa=20sur=20le=20sc?= =?UTF-8?q?=C3=A9nario=20jeune=20en=20situation=20de=20handicap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cypress/e2e/handicap.cy.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/handicap.cy.js b/cypress/e2e/handicap.cy.js index 1eabaf915d..40e88dfdd9 100644 --- a/cypress/e2e/handicap.cy.js +++ b/cypress/e2e/handicap.cy.js @@ -31,11 +31,16 @@ context("Full simulation", () => { revenu.fillConstantRevenu(1101.42) projet.fill__interetsAidesVelo([]) - projet.fill__interetBafa(false) + projet.fill__interetBafa(true) projet.fill__interetPermisDeConduire(false) projet.fill__interetAidesSanitaireSocial(false) results.wait() + results.hasBafaGroupPreviewBenefit(true) + navigate.goToBafaBenefitsPage() + results.hasBafaBenefit() + results.back() + results.hasAAH() navigate.goRecap() navigate.checkRecap() From ba682a7bce2ee5943944de95a43ffd9e8d8c3e70 Mon Sep 17 00:00:00 2001 From: Jeremy PASTOURET Date: Fri, 7 Feb 2025 14:54:48 +0100 Subject: [PATCH 6/6] =?UTF-8?q?feat:=20mise=20=C3=A0=20jour=20de=20la=20vi?= =?UTF-8?q?lle=20de=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cypress/e2e/handicap.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/handicap.cy.js b/cypress/e2e/handicap.cy.js index 40e88dfdd9..8be8318790 100644 --- a/cypress/e2e/handicap.cy.js +++ b/cypress/e2e/handicap.cy.js @@ -23,7 +23,7 @@ context("Full simulation", () => { foyer.fill_en_couple(false) logement.fill__logementType("sansDomicile") - logement.fill_depcom("94120") + logement.fill_depcom("74000") logement.fill__difficultes_acces_ou_frais_logement(true) logement.fill__nombreMoisEntreeLogement(-12)