Skip to content

Commit

Permalink
MDL-48117 behat: Use form field to check checkbox
Browse files Browse the repository at this point in the history
On Mac-Chrome click checkbox is not generating
proper events and hence failing. Use behat_form_checkbox
to ensure checkbox is checked
  • Loading branch information
stronk7 authored and rajesh Taneja committed Oct 19, 2015
1 parent 84d5eef commit 6d04e55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions completion/tests/behat/restrict_section_availability.feature
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ Feature: Restrict sections availability through completion or grade conditions
And I expand all fieldsets
And I click on "Add restriction..." "button"
And I click on "Grade" "button" in the "Add restriction..." "dialogue"
And I click on "min" "checkbox"
And I set the following fields to these values:
| id | Grade assignment |
| minval | 20 |
| id | Grade assignment |
| min | 1 |
| minval | 20 |
And I press "Save changes"
And I log out
When I log in as "student1"
Expand Down

0 comments on commit 6d04e55

Please sign in to comment.