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:25 +08:00
committed by rajesh Taneja
parent cd58862cc8
commit 5d563e92b0
@@ -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"