diff --git a/tests/behat/mod_form.feature b/tests/behat/mod_form.feature index 225f0fdd..5eb839d7 100644 --- a/tests/behat/mod_form.feature +++ b/tests/behat/mod_form.feature @@ -16,7 +16,7 @@ Feature: Creating a new rating allocation, where new choices need to | student1 | C1 | student | And I log in as "teacher1" And I am on "Course 1" course homepage with editing mode on - And I add a "Fair Allocation" to section "0" and I fill the form with: + And I add a "Fair Allocation" activity to course "Course 1" section "0" and I fill the form with: | id_name | My Fair Allocation | And I am on the "My Fair Allocation" "ratingallocate activity" page And I press "Edit Choices" diff --git a/tests/behat/select_strategy.feature b/tests/behat/select_strategy.feature index 82bfd2fb..87212351 100644 --- a/tests/behat/select_strategy.feature +++ b/tests/behat/select_strategy.feature @@ -13,7 +13,7 @@ Feature: When a teacher selects a strategy the appropriate options are displayed | teacher1 | C1 | editingteacher | And I log in as "teacher1" And I am on "Course 1" course homepage with editing mode on - And I add a "Fair Allocation" to section "1" + And I add a "Fair Allocation" activity to course "Course 1" section "1" @javascript Scenario: The correct options are displayed for the default strategy (Yes-No) diff --git a/tests/behat/validate_rating.feature b/tests/behat/validate_rating.feature index 5ae606b0..809ed9a5 100644 --- a/tests/behat/validate_rating.feature +++ b/tests/behat/validate_rating.feature @@ -15,7 +15,7 @@ Feature: When a student attempts to rate choices it should be validated prior to | student1 | C1 | student | And I log in as "teacher1" And I am on "Course 1" course homepage with editing mode on - And I add a "Fair Allocation" to section "1" and I fill the form with: + And I add a "Fair Allocation" activity to course "Course 1" section "1" and I fill the form with: | id_name | Validated Rating | | strategy | strategy_points | | Rating begins at | ##2 days ago## |