From fd70acae15996a5ae9270fad35a4b127988753bd Mon Sep 17 00:00:00 2001 From: David Monllao Date: Tue, 7 May 2013 10:36:40 +0800 Subject: [PATCH] MDL-39437 mod_lesson: Expanding form fieldsets before clicking elements --- mod/lesson/tests/behat/date_availability.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/lesson/tests/behat/date_availability.feature b/mod/lesson/tests/behat/date_availability.feature index 0e4c2f55063..5f2357b039b 100644 --- a/mod/lesson/tests/behat/date_availability.feature +++ b/mod/lesson/tests/behat/date_availability.feature @@ -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 |