File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Featured courses #
2
2
3
- [ ![ Moodle Plugin CI] ( https://github.com/martin-call-learning/moodle-block_featured_courses/actions/workflows/main.yml/badge.svg )] ( https://github.com/martin-call-learning/moodle-block_featured_courses/actions/workflows/main.yml )
4
-
5
- [ ![ Build Status] ( https://travis-ci.org/call-learning/moodle-block-featured_courses.svg?branch=master )] ( https://travis-ci.org/call-learning/moodle-block-featured_courses )
3
+ [ ![ Moodle Plugin CI] ( https://github.com/call-learning/moodle-block_featured_courses/actions/workflows/main.yml/badge.svg )] ( https://github.com/call-learning/moodle-block_featured_courses/actions/workflows/main.yml )
6
4
7
5
A block to display of courses from the global list of courses.
8
6
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ Feature: Add a featured block on the dashboard
14
14
Scenario : Add the block and set 3 featured courses
15
15
Given I log in as "admin"
16
16
Then I am on homepage
17
- And I turn editing mode on
17
+ When I press "Customise this page"
18
18
And I add the "Featured Courses" block
19
- And I configure the "Featured Courses " block
19
+ And I configure the "Featured courses " block
20
20
And I expand all fieldsets
21
21
Then I should see "Title"
22
22
And I set the field "Title" to "My featured courses"
@@ -34,9 +34,9 @@ Feature: Add a featured block on the dashboard
34
34
@javascript
35
35
Scenario : Add the block and set 3 featured courses and remove one after, only two should display
36
36
Given I log in as "admin"
37
- Then I turn editing mode on
38
- And I add the "Featured Courses " block
39
- And I configure the "Featured Courses " block
37
+ When I press "Customise this page"
38
+ Then I add the "Featured courses " block
39
+ And I configure the "Featured courses " block
40
40
And I expand all fieldsets
41
41
Then I should see "Title"
42
42
And I set the field "Title" to "My featured courses"
You can’t perform that action at this time.
0 commit comments