diff --git a/client/src/components/learningPath/LearningSequence.vue b/client/src/components/learningPath/LearningSequence.vue index 12891da9..68287200 100644 --- a/client/src/components/learningPath/LearningSequence.vue +++ b/client/src/components/learningPath/LearningSequence.vue @@ -93,8 +93,8 @@ const learningSequenceBorderClass = computed(() => {
{{ humanizeDuration(learningSequence.minutes) }}
-
-
+
  • { {{ humanizeDuration(learningUnit.minutes) }}
  • - -
    - +
  • - -
    - {{ learningContent.title }} -
    - -
    + +
    + - -
    - + +
    + + +
    + +
    -
    -
    - -
    + +
    +
  • +
    {

    -
    - + + diff --git a/client/src/components/ui/ItCheckbox.vue b/client/src/components/ui/ItCheckbox.vue index 713f21c2..ae91a0b4 100644 --- a/client/src/components/ui/ItCheckbox.vue +++ b/client/src/components/ui/ItCheckbox.vue @@ -18,25 +18,22 @@ defineEmits(["update:modelValue"]); diff --git a/client/src/pages/learningPath/CirclePage.vue b/client/src/pages/learningPath/CirclePage.vue index 6e580e2e..a4c037b9 100644 --- a/client/src/pages/learningPath/CirclePage.vue +++ b/client/src/pages/learningPath/CirclePage.vue @@ -143,8 +143,8 @@ onMounted(async () => { -
    -
    +
  • { -
  • -
    + + diff --git a/cypress/e2e/circle.cy.js b/cypress/e2e/circle.cy.js index 6a6d385c..b1848088 100644 --- a/cypress/e2e/circle.cy.js +++ b/cypress/e2e/circle.cy.js @@ -16,17 +16,17 @@ describe("circle page", () => { cy.get('[data-cy="circle-title"]').should("contain", "Analyse"); cy.get( - '[data-cy="test-lehrgang-lp-circle-analyse-lc-einleitung-circle-analyse"] > .cy-checkbox' + '[data-cy="test-lehrgang-lp-circle-analyse-lc-einleitung-circle-analyse-checkbox"] > .cy-checkbox' ).click(); cy.get( - '[data-cy="test-lehrgang-lp-circle-analyse-lc-einleitung-circle-analyse"] > .cy-checkbox-checked' + '[data-cy="test-lehrgang-lp-circle-analyse-lc-einleitung-circle-analyse-checkbox"] > .cy-checkbox-checked' ).should("have.class", "cy-checkbox-checked"); // completion data should still be there after reload cy.reload(); cy.get( - '[data-cy="test-lehrgang-lp-circle-analyse-lc-einleitung-circle-analyse"] > .cy-checkbox-checked' + '[data-cy="test-lehrgang-lp-circle-analyse-lc-einleitung-circle-analyse-checkbox"] > .cy-checkbox-checked' ).should("have.class", "cy-checkbox-checked"); }); @@ -62,10 +62,10 @@ describe("circle page", () => { cy.get('[data-cy="complete-and-continue"]').click(); cy.get( - '[data-cy="test-lehrgang-lp-circle-analyse-lc-rafael-fasel-wechselt-sein-auto"] > .cy-checkbox-checked' + '[data-cy="test-lehrgang-lp-circle-analyse-lc-rafael-fasel-wechselt-sein-auto-checkbox"] > .cy-checkbox-checked' ).should("have.class", "cy-checkbox-checked"); cy.get( - '[data-cy="test-lehrgang-lp-circle-analyse-lc-fachcheck-fahrzeug"] > .cy-checkbox-checked' + '[data-cy="test-lehrgang-lp-circle-analyse-lc-fachcheck-fahrzeug-checkbox"] > .cy-checkbox-checked' ).should("have.class", "cy-checkbox-checked"); cy.get( diff --git a/cypress/e2e/learningPath.cy.js b/cypress/e2e/learningPath.cy.js index b833a125..47a595ca 100644 --- a/cypress/e2e/learningPath.cy.js +++ b/cypress/e2e/learningPath.cy.js @@ -51,7 +51,7 @@ describe("learningPath page", () => { // mark a learning content in second circle cy.get('[data-cy="circle-analyse"]').click({ force: true }); cy.get( - '[data-cy="test-lehrgang-lp-circle-analyse-lc-fachcheck-fahrzeug"] > .cy-checkbox' + '[data-cy="test-lehrgang-lp-circle-analyse-lc-fachcheck-fahrzeug-checkbox"] > .cy-checkbox' ).click(); cy.get('[data-cy="back-to-learning-path-button"]').click();