diff --git a/cypress/e2e/dashboard/dashboardExport.cy.js b/cypress/e2e/dashboard/dashboardExport.cy.js index 565955db..de0be194 100644 --- a/cypress/e2e/dashboard/dashboardExport.cy.js +++ b/cypress/e2e/dashboard/dashboardExport.cy.js @@ -26,7 +26,7 @@ function getCurrentDate() { function verifyExportFileExists(fileName) { const downloadsFolder = Cypress.config("downloadsFolder"); cy.readFile( - path.join(downloadsFolder, `${fileName}_${getCurrentDate()}.xlsx`) + path.join(downloadsFolder, `${fileName}_${getCurrentDate()}.xlsx`), ).should("exist"); } @@ -39,7 +39,7 @@ function testExport(url, fileName) { describe("dashboardExport.cy.js", () => { beforeEach(() => { cy.manageCommand( - "cypress_reset --create-assignment-evaluation --create-feedback-responses --create-course-completion-performance-criteria --create-attendance-days" + "cypress_reset --create-assignment-evaluation --create-feedback-responses --create-course-completion-performance-criteria --create-attendance-days", ); }); @@ -55,13 +55,17 @@ describe("dashboardExport.cy.js", () => { it("should download the competence elements export", () => { testExport( "/statistic/test-lehrgang/assignment", - "export_kompetenznachweis_elemente" + "export_kompetenznachweis_elemente", ); }); it("should download the feedback export", () => { testExport("/statistic/test-lehrgang/feedback", "export_feedback"); }); + + it("should download the person export", () => { + testExport("/statistic/dashboard/persons", "export_personen"); + }); }); describe("as trainer", () => { @@ -76,12 +80,16 @@ describe("dashboardExport.cy.js", () => { it("should download the competence elements export", () => { testExport( "/statistic/test-lehrgang/assignment", - "export_kompetenznachweis_elemente" + "export_kompetenznachweis_elemente", ); }); it("should download the feedback export", () => { testExport("/statistic/test-lehrgang/feedback", "export_feedback"); }); + + it("should download the person export", () => { + testExport("/statistic/dashboard/persons", "export_personen"); + }); }); }); diff --git a/server/locale/fr/LC_MESSAGES/django.mo b/server/locale/fr/LC_MESSAGES/django.mo index 31cad5f5..bc305be3 100644 Binary files a/server/locale/fr/LC_MESSAGES/django.mo and b/server/locale/fr/LC_MESSAGES/django.mo differ diff --git a/server/locale/fr/LC_MESSAGES/django.po b/server/locale/fr/LC_MESSAGES/django.po index 3498fd8e..89cf1fae 100644 --- a/server/locale/fr/LC_MESSAGES/django.po +++ b/server/locale/fr/LC_MESSAGES/django.po @@ -162,10 +162,9 @@ msgid "Lehrvertragsnummer" msgstr "Numéro de contrat d'apprentissage" #: vbv_lernwelt/dashboard/person_export.py:16 -#, fuzzy #| msgid "export_anwesenheit" msgid "export_personen" -msgstr "export_presence" +msgstr "export_personnes" #: vbv_lernwelt/dashboard/person_export.py:68 msgid "Telefon" diff --git a/server/locale/it/LC_MESSAGES/django.po b/server/locale/it/LC_MESSAGES/django.po index 8aa12dea..4e1712ac 100644 --- a/server/locale/it/LC_MESSAGES/django.po +++ b/server/locale/it/LC_MESSAGES/django.po @@ -165,7 +165,7 @@ msgstr "Numero di contratto di tirocinio" #, fuzzy #| msgid "export_anwesenheit" msgid "export_personen" -msgstr "esportazione_presenza" +msgstr "esportazione_persone" #: vbv_lernwelt/dashboard/person_export.py:68 msgid "Telefon"