-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aide terminée - Bafa / service civique #4816
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok pour moi.
merci Jérémy !
Merci @yasmine-glitch , je suis preneur d'une petite review @Shamzic , car j'ai dû modifier des tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'aurais plutôt déplacé les tests dans un autre profil comme dans handicap.cy.js
par exemple, où on a encore 3 dispositifs possibles dans la ville d'Annecy.
Exemple qui fonctionne avec ces modifications :
/// <reference types="Cypress" />
import profil from "../utils/profil.js"
import navigate from "../utils/navigate.js"
import foyer from "../utils/foyer.js"
import logement from "../utils/logement.js"
import revenu from "../utils/revenu.js"
import projet from "../utils/projet.js"
import results from "../utils/results.js"
import "cypress-axe"
context("Full simulation", () => {
beforeEach(() => {
navigate.init()
cy.injectAxe()
})
it("accepts a situation with handicap", () => {
navigate.goHome()
profil.handicaped()
foyer.children(0)
foyer.fill_en_couple(false)
logement.fill__logementType("sansDomicile")
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(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()
})
})
La date limite de dépôt des demandes est fixée au 30 novembre 2024 inclus.
Source : https://www.jeunes.gouv.fr/une-aide-financiere-de-100eu-pour-les-volontaires-en-service-civique-pour-passer-leur-bafa-bafd