diff --git a/blocks/myoverview/styles.css b/blocks/myoverview/styles.css index 851282ec8a4..5df1e020c91 100644 --- a/blocks/myoverview/styles.css +++ b/blocks/myoverview/styles.css @@ -9,3 +9,6 @@ color: var(--primary); } +.page-mycourses .block_myoverview .block-controls { + display: none; +} diff --git a/my/tests/behat/my_courses.feature b/my/tests/behat/my_courses.feature index ef10341f7b1..ec20259462a 100644 --- a/my/tests/behat/my_courses.feature +++ b/my/tests/behat/my_courses.feature @@ -109,8 +109,7 @@ Feature: Run tests over my courses. And I should see "This is visible on all pages" And "Move Text on all pages block" "menuitem" should not exist in the "Text on all pages" "block" And "Move Course overview block" "menuitem" should not exist in the "Course overview" "block" - And I click on "Actions menu" "icon" in the "Course overview" "block" - And I should not see "Delete Course overview block" + And "Actions menu" "icon" in the "Course overview" "block" should not be visible @javascript Scenario: User with creating a course permission can't see the Request course link