MDL-39437 mod_lesson: Expanding form fieldsets before clicking elements

This commit is contained in:
David Monllao 2013-05-07 10:36:40 +08:00 committed by Rossiani Wijaya
parent 7f8ce0257b
commit fd70acae15

View File

@ -23,6 +23,7 @@ Feature: A teacher can set available from and deadline dates to access a lesson
@javascript
Scenario: Forbidding lesson accesses until a specified date
Given I add a "Lesson" to section "1"
And I expand all fieldsets
And I click on "id_available_enabled" "checkbox"
And I fill the moodle form with:
| Name | Test lesson |
@ -49,6 +50,7 @@ Feature: A teacher can set available from and deadline dates to access a lesson
@javascript
Scenario: Forbidding lesson accesses until a specified date
Given I add a "Lesson" to section "1"
And I expand all fieldsets
And I click on "id_deadline_enabled" "checkbox"
And I fill the moodle form with:
| Name | Test lesson |