Skip to content

Commit

Permalink
promotion: preprod to prod
Browse files Browse the repository at this point in the history
promotion: preprod to prod
  • Loading branch information
NyAndoMayah authored Jul 26, 2024
2 parents d1d893b + 75191b8 commit df5539d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions cypress/e2e/manager.docs.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe("Manager.Transcript.Docs", () => {
});
});

describe.only("Manager.Work.Docs", () => {
describe("Manager.Work.Docs", () => {
beforeEach(() => {
cy.intercept("GET", `/students?*`, studentsMock);
cy.intercept("GET", `/students/${student1Mock.id}`, student1Mock);
Expand Down Expand Up @@ -102,7 +102,9 @@ describe.only("Manager.Work.Docs", () => {
'[href="#/students/student1_id/docs/students/WORK_DOCUMENT"]'
).click();

cy.contains(`Liste des autorisations d'alternance de ${student1Mock.ref}`);
cy.contains(
`Liste des validations d'expériences professionnelles de ${student1Mock.ref}`
);
cy.contains("Nom du fichier");
cy.contains("Date de création");
cy.contains("Afficher");
Expand Down
2 changes: 1 addition & 1 deletion src/operations/docs/components/DocCreateDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const getTitle = (owner, type) => {
case FileType.OTHER:
return "document étudiant";
case FileType.WORK_DOCUMENT:
return "document d'autorisation en alternance";
return "document de validations d'expériences professionnelles";
default:
return "document";
}
Expand Down
16 changes: 11 additions & 5 deletions src/operations/profile/components/ProfileFilters.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,26 @@ export function ProfileFilters({resource}) {
<Box>
<SelectInputFilter
data-testid="filter-profile-work-status"
label="Statut en alternance"
label="Statut professionnel"
source="work_study_status"
choices={[
{
id: WorkStudyStatus.HAVE_BEEN_WORKING,
name: "A été en alternance",
name: "A eu une expérience professionnelle",
},
{
id: WorkStudyStatus.WILL_BE_WORKING,
name: "Aura une expérience professionnelle",
},
{
id: WorkStudyStatus.WORKING,
name: "A une expérience professionnelle",
},
{id: WorkStudyStatus.WILL_BE_WORKING, name: "Sera en alternance"},
{id: WorkStudyStatus.WORKING, name: "Est en alternance"},
{id: null, name: "Aucune valeur"},
]}
/>
<DateTimeFilter
label="Date de début d'alternance"
label="Date de début de l'expérience professionnelle"
source="commitment_begin_date"
style={{margin: "1rem 0"}}
/>
Expand Down

0 comments on commit df5539d

Please sign in to comment.