-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: 6189 ajout des tests UI pour le simu preavis de licenciement #6191
feat: 6189 ajout des tests UI pour le simu preavis de licenciement #6191
Conversation
"question": "Le salarié était-il cadre dans l'ancienne convention collective de la métallurgie (avant le 01/01/2024) ?", | ||
"note": "Si le salarié dépendait précédemment de la convention collective des ingénieurs et cadres de la métallurgie (IDCC 650) et qu’il est désormais classé non-cadre en raison de la nouvelle classification des emplois (depuis le 01/01/2024), il bénéficie quand même de la durée de préavis qui s’applique aux cadres." |
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.
question en doublon
@@ -1353,7 +1349,7 @@ | |||
"type": "préavis de Licenciement", | |||
"idcc": 843, | |||
"typeRupture": null, | |||
"answer": "1 mois et demi", | |||
"answer": "1.5 mois", |
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.
renommage sous forme numérique pour faciliter la génération
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.
mais du coup ça veut dire que dans le front maintenant on affiche 1.5 mois, c'ets pas top non ?
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.
Je suis d'accord, on doit revenir à 1 mois et demi ici.
{ | ||
"criteria": { | ||
"catégorie professionnelle": "77| Négociateur VRP" | ||
}, | ||
"type": "préavis de Licenciement", | ||
"idcc": 1527, | ||
"typeRupture": null, | ||
"answer": "2 mois", | ||
"answer2": null, | ||
"answer3": "60", | ||
"ref": "Article 32", | ||
"refUrl": "https://www.legifrance.gouv.fr/affichIDCCArticle.do?idArticle=KALIARTI000023759231&cidTexte=KALITEXT000023759095" | ||
}, |
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.
Nettoyage du json, les Négociateur VRP sont déjà défini au dessus. Cet objet me faisais généré un test non valide
@@ -5125,7 +5108,7 @@ | |||
"type": "préavis de Licenciement", | |||
"idcc": 3239, | |||
"typeRupture": null, | |||
"answer": "8 jours calendaires", |
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.
est-ce que t'as validé avec le métier que c'était ok d'enlever ça ?
Je mets mes commentaires ici pour qu'on en parle tous ensemble :
|
|
||
|
||
it("should display expected answer", () => { | ||
expect(screen.queryAllByText(/1 jour/g)[0]).toBeInTheDocument(); |
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.
expect(screen.queryAllByText(/1 jour/g)[0]).toBeInTheDocument(); | |
expect(screen.queryAllByText(/1 jour ouvré/g)[0]).toBeInTheDocument(); |
|
||
|
||
it("should display expected answer", () => { | ||
expect(screen.queryAllByText(/1 mois/g)[0]).toBeInTheDocument(); |
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.
expect(screen.queryAllByText(/1 mois/g)[0]).toBeInTheDocument(); | |
expect(screen.queryAllByText(/1 mois (de date à date)/g)[0]).toBeInTheDocument(); |
|
||
|
||
it("should display expected answer", () => { | ||
expect(screen.queryAllByText(/5 mois/g)[0]).toBeInTheDocument(); |
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.
Faux. Ici ça devrait être "1 mois et demi"
🎉 Deployment for commit 3403dd0 : IngressesDocker images
|
@@ -1353,7 +1349,7 @@ | |||
"type": "préavis de Licenciement", | |||
"idcc": 843, | |||
"typeRupture": null, | |||
"answer": "1 mois et demi", | |||
"answer": "1.5 mois", |
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.
Je suis d'accord, on doit revenir à 1 mois et demi ici.
No description provided.