diff --git a/packages/reva-candidate/cypress/e2e/accompagnement-autonome/dossier-de-validation.cy.js b/packages/reva-candidate/cypress/e2e/accompagnement-autonome/dossier-de-validation.cy.js index dd488f807..ccdaeca31 100644 --- a/packages/reva-candidate/cypress/e2e/accompagnement-autonome/dossier-de-validation.cy.js +++ b/packages/reva-candidate/cypress/e2e/accompagnement-autonome/dossier-de-validation.cy.js @@ -1,3 +1,5 @@ +import { format } from "date-fns"; + import { stubMutation, stubQuery } from "../../utils/graphql"; context("Accompagnement autonome - Dossier de validation", () => { @@ -50,6 +52,8 @@ context("Accompagnement autonome - Dossier de validation", () => { "AUTONOME"; candidate.data.candidate_getCandidateWithCandidacy.candidacy.status = "DOSSIER_FAISABILITE_RECEVABLE"; + candidate.data.candidate_getCandidateWithCandidacy.candidacy.readyForJuryEstimatedAt = + format(new Date(), "yyyy-MM-dd"); cy.intercept("POST", "/api/graphql", (req) => { stubQuery(req, "candidate_getCandidateWithCandidacy", candidate);