diff --git a/codecov.yml b/codecov.yml index 4f6dfa59..fa61467a 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,2 +1,9 @@ +coverage: + status: + project: + default: + target: auto + threshold: 1% + ignore: - "**/test_helper.py" \ No newline at end of file diff --git a/cypress/e2e/course_creation.cy.js b/cypress/e2e/course_creation.cy.js index 8a8e0f2d..8d9f577c 100644 --- a/cypress/e2e/course_creation.cy.js +++ b/cypress/e2e/course_creation.cy.js @@ -176,7 +176,10 @@ describe("Course Creation", () => { cy.get("div").contains("Test Course").click(); cy.get("button").contains("Settings").click(); cy.get("header").within(() => { - cy.get("svg.lucide.lucide-trash2-icon").click(); + cy.get("svg.lucide.lucide-ellipsis-icon").click(); + }); + cy.get("div[role=menu]").within(() => { + cy.get("span").contains("Delete").click(); }); cy.get("span").contains("Delete").click(); cy.wait(500); diff --git a/frontend/index.html b/frontend/index.html index d910e2c8..2ef24693 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -201,26 +201,26 @@ media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" /> - {{ title }} - - - - - - - - - - + {{ title | e }} + + + + + + + + + +
-

{{ meta.title }}

+

{{ meta.title | e }}

- {{ meta.description }} + {{ meta.description | e }}

- Know More + Know More
diff --git a/frontend/src/pages/Courses/Courses.vue b/frontend/src/pages/Courses/Courses.vue index 18d72c48..30766c76 100644 --- a/frontend/src/pages/Courses/Courses.vue +++ b/frontend/src/pages/Courses/Courses.vue @@ -8,25 +8,7 @@ placement="right" side="bottom" v-if="canCreateCourse()" - :options="[ - { - label: __('New Course'), - icon: 'book-open', - onClick() { - showCourseModal = true - }, - }, - { - label: __('Import Course'), - icon: 'upload', - onClick() { - router.push({ - name: 'NewDataImport', - params: { doctype: 'LMS Course' }, - }) - }, - }, - ]" + :options="courseMenu" >