MDL-48117 behat: Use form field to check checkbox

On Mac-Chrome click checkbox is not generating
proper events and hence failing. Use behat_form_checkbox
to ensure checkbox is checked
This commit is contained in:
Eloy Lafuente (stronk7)
2015-10-19 16:59:57 +08:00
committed by rajesh Taneja
parent 131679eddc
commit 140bd7b3ca
@@ -71,10 +71,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"