forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-78158 behat: Behat cleanup and optimisation
- Loading branch information
1 parent
9f101a3
commit 09d654b
Showing
34 changed files
with
117 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,7 @@ Feature: Enable Block Badges on the frontpage and view awarded badges | |
And the following "blocks" exist: | ||
| blockname | contextlevel | reference | pagetypepattern | defaultregion | | ||
| badges | System | 1 | site-index | side-pre | | ||
And I log in as "teacher1" | ||
And I am on "Course 1" course homepage | ||
And I am on the "Course 1" course page logged in as teacher1 | ||
# Issue badge 1 of 2 | ||
And I navigate to "Badges > Add a new badge" in current page administration | ||
And I set the following fields to these values: | ||
|
@@ -35,7 +34,5 @@ Feature: Enable Block Badges on the frontpage and view awarded badges | |
And I press "Award badge" | ||
And I set the field "potentialrecipients[]" to "Teacher 1 ([email protected])" | ||
And I press "Award badge" | ||
And I log out | ||
When I log in as "teacher1" | ||
And I am on site homepage | ||
When I am on site homepage | ||
Then I should see "Badge 1" in the "Latest badges" "block" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.