From bc99a34d9cd7a037b39dc8dd0b5e6c8b6dfc589e Mon Sep 17 00:00:00 2001 From: David Monllao Date: Thu, 6 Apr 2017 10:22:59 +0200 Subject: [PATCH] MDL-23919 mod_data: Required entries not available by default anymore Updating test accordingly, but still setting and checking a field that is not part of the fieldsets opened by default. --- course/tests/behat/add_activities.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course/tests/behat/add_activities.feature b/course/tests/behat/add_activities.feature index 547162d4ae6..345413de635 100644 --- a/course/tests/behat/add_activities.feature +++ b/course/tests/behat/add_activities.feature @@ -24,7 +24,7 @@ Feature: Add activities to courses When I add a "Database" to section "3" and I fill the form with: | Name | Test name | | Description | Test database description | - | Entries required for completion | 9 | + | ID number | TESTNAME | | Allow comments on entries | Yes | And I turn editing mode off Then I should not see "Adding a new" @@ -33,7 +33,7 @@ Feature: Add activities to courses And I click on "Edit settings" "link" in the "Test name" activity And I expand all fieldsets And the field "Name" matches value "Test name" - And the field "Entries required for completion" matches value "9" + And the field "ID number" matches value "TESTNAME" And the field "Allow comments on entries" matches value "Yes" @javascript