diff --git a/client/src/pages/learningPath/learningContentPage/blocks/EdoniqTestBlock.vue b/client/src/pages/learningPath/learningContentPage/blocks/EdoniqTestBlock.vue index e993c236..1cb19b05 100644 --- a/client/src/pages/learningPath/learningContentPage/blocks/EdoniqTestBlock.vue +++ b/client/src/pages/learningPath/learningContentPage/blocks/EdoniqTestBlock.vue @@ -176,19 +176,19 @@ async function startTest() { $t("assignment.von x Punkten", { x: assignmentCompletion.evaluation_max_points, }) - }}, - {{ + }} + ({{ ( ((assignmentCompletion.evaluation_points ?? 0) / (assignmentCompletion.evaluation_max_points ?? 1)) * 100 ).toFixed(0) - }}%, - - ({{ $t("a.Bestanden") }}) - - - ({{ $t("a.Nicht Bestanden") }}) + }}%) + + {{ $t("a.Nicht Bestanden") }} diff --git a/cypress/e2e/competenceNavi/competenceCertificate.cy.js b/cypress/e2e/competenceNavi/competenceCertificate.cy.js index 9b679590..fa02af85 100644 --- a/cypress/e2e/competenceNavi/competenceCertificate.cy.js +++ b/cypress/e2e/competenceNavi/competenceCertificate.cy.js @@ -99,8 +99,7 @@ describe("competenceCertificate.cy.js", () => { ).click(); cy.get('[data-cy="test-result"]') .should("contain", "19 von 24 Punkten") - .and("contain", "79%") - .and("contain", "Bestanden"); + .and("contain", "79%"); }); it("check with finished failed edoniq test", () => { diff --git a/env_secrets/local_chrigu.env b/env_secrets/local_chrigu.env index 322ce591..e4b54548 100644 Binary files a/env_secrets/local_chrigu.env and b/env_secrets/local_chrigu.env differ