Skip to content

Commit

Permalink
Aide terminée - Bafa / service civique (#4816)
Browse files Browse the repository at this point in the history
* fix: passage à privée d'une aide pour le bafa

* feat: mise à jour du test

* fix: supprime des tests obsolètes

* ajout de lint manuel

* report des tests bafa sur le scénario jeune en situation de handicap

* feat: mise à jour de la ville de test
  • Loading branch information
jenovateurs authored Feb 7, 2025
1 parent eb62271 commit 008e3e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
9 changes: 7 additions & 2 deletions cypress/e2e/handicap.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,24 @@ 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)

revenu.fill_ressources_types(["salaire_net"])
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()
Expand Down
3 changes: 0 additions & 3 deletions cypress/e2e/student.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ context("Full simulation", () => {
projet.fill__dureeMoisEtudesEtranger(2)

results.wait()
results.hasBafaGroupPreviewBenefit(true)
navigate.goToBafaBenefitsPage()
results.hasBafaBenefit()
results.back()

results.hasVeloGroupPreviewBenefit(true)
navigate.goToAidesVeloBenefitsPage()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 008e3e6

Please sign in to comment.