Skip to content

Commit

Permalink
MDL-43230 badges: fix award_badge behat test
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwyllie committed Oct 12, 2016
1 parent addb943 commit 2e39117
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions badges/tests/behat/award_badge.feature
Original file line number Diff line number Diff line change
Expand Up @@ -352,14 +352,9 @@ Feature: Award badges
And I follow "Recipients (2)"
And I press "Award badge"
And I set the field "existingrecipients[]" to "Student 2 ([email protected])"
And I press "Remove badge"
And I press "Revoke badge"
And I set the field "existingrecipients[]" to "Student 1 ([email protected])"
When I press "Award badge"
And I follow "Remove Badge"
When I press "Revoke badge"
And I follow "Course Badge"
Then I should see "Recipients (0)"
And I log out
And I log in as "student1"
And I follow "Profile" in the user menu
And I follow "Course 1"
And I should see "Course Badge"


0 comments on commit 2e39117

Please sign in to comment.