Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jenovateurs
Copy link
Contributor

@jenovateurs jenovateurs commented Feb 3, 2025

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

@github-actions github-actions bot added this to the BC actuel milestone Feb 3, 2025
Copy link
Contributor

@yasmine-glitch yasmine-glitch left a 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 !

@jenovateurs
Copy link
Contributor Author

Merci @yasmine-glitch , je suis preneur d'une petite review @Shamzic , car j'ai dû modifier des tests.

@Shamzic Shamzic self-requested a review February 4, 2025 10:35
Copy link
Contributor

@Shamzic Shamzic left a 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()
  })
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants