Skip to content

Commit bc33118

Browse files
committed
Fix issue with behat
* Fix readme link * Use I press "Customise this page" instead of I turn editing on
1 parent db5dd24 commit bc33118

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Featured courses #
22

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)
64

75
A block to display of courses from the global list of courses.
86

tests/behat/block_featured_courses.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Feature: Add a featured block on the dashboard
1414
Scenario: Add the block and set 3 featured courses
1515
Given I log in as "admin"
1616
Then I am on homepage
17-
And I turn editing mode on
17+
When I press "Customise this page"
1818
And I add the "Featured Courses" block
19-
And I configure the "Featured Courses" block
19+
And I configure the "Featured courses" block
2020
And I expand all fieldsets
2121
Then I should see "Title"
2222
And I set the field "Title" to "My featured courses"
@@ -34,9 +34,9 @@ Feature: Add a featured block on the dashboard
3434
@javascript
3535
Scenario: Add the block and set 3 featured courses and remove one after, only two should display
3636
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
4040
And I expand all fieldsets
4141
Then I should see "Title"
4242
And I set the field "Title" to "My featured courses"

0 commit comments

Comments
 (0)