diff --git a/blocks/activity_results/tests/behat/addblockinactivity.feature b/blocks/activity_results/tests/behat/addblockinactivity.feature index 47a9d1207e9..e4379d79581 100644 --- a/blocks/activity_results/tests/behat/addblockinactivity.feature +++ b/blocks/activity_results/tests/behat/addblockinactivity.feature @@ -49,11 +49,11 @@ Feature: The activity results block displays student scores And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_activitygradeitemid | Test assignment 1 | - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | + | config_activitygradeitemid | Test assignment 1 | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 1" in the "Activity results" "block" And I should see "90.00" in the "Activity results" "block" @@ -66,22 +66,22 @@ Feature: The activity results block displays student scores Given I follow "Test assignment 1" When I add the "Activity results" block And I configure the "Activity results" block - Then the field "id_config_activitygradeitemid" matches value "Test assignment 1" + Then the field "config_activitygradeitemid" matches value "Test assignment 1" And I press "Cancel" And I am on "Course 1" course homepage And I follow "Test assignment 2" And I add the "Activity results" block And I configure the "Activity results" block - And the field "id_config_activitygradeitemid" matches value "Test assignment 2" + And the field "config_activitygradeitemid" matches value "Test assignment 2" And I press "Cancel" And I am on "Course 1" course homepage And I follow "Test assignment 3" And I add the "Activity results" block And I configure the "Activity results" block - And the field "id_config_activitygradeitemid" matches value "Test assignment 3" + And the field "config_activitygradeitemid" matches value "Test assignment 3" And I press "Cancel" And I am on "Course 1" course homepage And I follow "Test page name" And I add the "Activity results" block And I configure the "Activity results" block - And the field "id_config_activitygradeitemid" does not match value "Test page name" + And the field "config_activitygradeitemid" does not match value "Test page name" diff --git a/blocks/activity_results/tests/behat/addunsupportedactivity.feature b/blocks/activity_results/tests/behat/addunsupportedactivity.feature index 739bb6ff5cc..f5b045b1426 100644 --- a/blocks/activity_results/tests/behat/addunsupportedactivity.feature +++ b/blocks/activity_results/tests/behat/addunsupportedactivity.feature @@ -25,10 +25,10 @@ Feature: The activity results block doesn't display student scores for unsupport And I add the "Activity results" block And I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | + | config_showbest | 1 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | And I press "Save changes" When I follow "Test assignment" And I navigate to "Settings" in current page administration diff --git a/blocks/activity_results/tests/behat/defaultsettings.feature b/blocks/activity_results/tests/behat/defaultsettings.feature index 6c32edaebfe..7ea25451c25 100644 --- a/blocks/activity_results/tests/behat/defaultsettings.feature +++ b/blocks/activity_results/tests/behat/defaultsettings.feature @@ -37,10 +37,10 @@ Feature: The activity results block can have administrator set defaults And I add the "Activity results" block When I configure the "Activity results" block And the following fields match these values: - | id_config_showbest | 0 | - | id_config_showworst | 0 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display only ID numbers | + | config_showbest | 0 | + | config_showworst | 0 | + | config_gradeformat | Fractions | + | config_nameformat | Display only ID numbers | And I press "Save changes" Then I should see "This block's configuration currently does not allow it to show any results." in the "Activity results" "block" @@ -54,9 +54,9 @@ Feature: The activity results block can have administrator set defaults And I add the "Activity results" block When I configure the "Activity results" block And the following fields match these values: - | id_config_showbest | 0 | - | id_config_showworst | 0 | - And the "id_config_showbest" "field" should be readonly - And the "id_config_showworst" "field" should be readonly + | config_showbest | 0 | + | config_showworst | 0 | + And the "config_showbest" "field" should be readonly + And the "config_showworst" "field" should be readonly And I press "Save changes" Then I should see "This block's configuration currently does not allow it to show any results." in the "Activity results" "block" diff --git a/blocks/activity_results/tests/behat/highscoreswithoutgroups.feature b/blocks/activity_results/tests/behat/highscoreswithoutgroups.feature index b19dbeecc39..d7bec1de823 100644 --- a/blocks/activity_results/tests/behat/highscoreswithoutgroups.feature +++ b/blocks/activity_results/tests/behat/highscoreswithoutgroups.feature @@ -42,10 +42,10 @@ Feature: The activity results block displays student high scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | + | config_showbest | 0 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "This block's configuration currently does not allow it to show any results." in the "Activity results" "block" @@ -53,11 +53,11 @@ Feature: The activity results block displays student high scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | + | config_showbest | 1 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | And I press "Save changes" Then I should see "Student 1" in the "Activity results" "block" And I should see "90%" in the "Activity results" "block" @@ -66,10 +66,10 @@ Feature: The activity results block displays student high scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | + | config_showbest | 1 | + | config_showworst | 0 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 1" in the "Activity results" "block" And I should see "90.00/100.00" in the "Activity results" "block" @@ -78,10 +78,10 @@ Feature: The activity results block displays student high scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | + | config_showbest | 1 | + | config_showworst | 0 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 1" in the "Activity results" "block" And I should see "90.00" in the "Activity results" "block" @@ -90,11 +90,11 @@ Feature: The activity results block displays student high scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | And I press "Save changes" Then I should see "Student 1" in the "Activity results" "block" And I should see "90%" in the "Activity results" "block" @@ -107,10 +107,10 @@ Feature: The activity results block displays student high scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 1" in the "Activity results" "block" And I should see "90.00/100.00" in the "Activity results" "block" @@ -123,10 +123,10 @@ Feature: The activity results block displays student high scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 1" in the "Activity results" "block" And I should see "90.00" in the "Activity results" "block" @@ -141,10 +141,10 @@ Feature: The activity results block displays student high scores And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display only ID numbers | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display only ID numbers | And I press "Save changes" Then I should see "User S1" in the "Activity results" "block" And I should see "90.00%" in the "Activity results" "block" @@ -157,10 +157,10 @@ Feature: The activity results block displays student high scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Anonymous results | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Anonymous results | And I press "Save changes" Then I should see "User" in the "Activity results" "block" And I should see "90.00%" in the "Activity results" "block" diff --git a/blocks/activity_results/tests/behat/highscoreswithscales.feature b/blocks/activity_results/tests/behat/highscoreswithscales.feature index 48d58d62496..64fe9570b64 100644 --- a/blocks/activity_results/tests/behat/highscoreswithscales.feature +++ b/blocks/activity_results/tests/behat/highscoreswithscales.feature @@ -61,10 +61,10 @@ Feature: The activity results block displays students high scores in group as sc Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | + | config_showbest | 1 | + | config_showworst | 0 | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | And I press "Save changes" Then I should see "Student 1" in the "Activity results" "block" And I should see "Excellent!" in the "Activity results" "block" @@ -73,9 +73,9 @@ Feature: The activity results block displays students high scores in group as sc Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_nameformat | Display full names | + | config_showbest | 3 | + | config_showworst | 0 | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 1" in the "Activity results" "block" And I should see "Excellent!" in the "Activity results" "block" @@ -90,9 +90,9 @@ Feature: The activity results block displays students high scores in group as sc And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_nameformat | Display only ID numbers | + | config_showbest | 3 | + | config_showworst | 0 | + | config_nameformat | Display only ID numbers | And I press "Save changes" Then I should see "User S1" in the "Activity results" "block" And I should see "Excellent!" in the "Activity results" "block" @@ -105,9 +105,9 @@ Feature: The activity results block displays students high scores in group as sc Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_nameformat | Anonymous results | + | config_showbest | 3 | + | config_showworst | 0 | + | config_nameformat | Anonymous results | And I press "Save changes" Then I should see "User" in the "Activity results" "block" And I should not see "Student 1" in the "Activity results" "block" diff --git a/blocks/activity_results/tests/behat/highscoreswithscalesandgroups.feature b/blocks/activity_results/tests/behat/highscoreswithscalesandgroups.feature index 88acb700f75..d0130318e0e 100644 --- a/blocks/activity_results/tests/behat/highscoreswithscalesandgroups.feature +++ b/blocks/activity_results/tests/behat/highscoreswithscalesandgroups.feature @@ -76,10 +76,10 @@ Feature: The activity results block displays student in group high scores as sca Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 1 | + | config_showworst | 0 | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 1" in the "Activity results" "block" And I should see "Excellent!" in the "Activity results" "block" @@ -93,10 +93,10 @@ Feature: The activity results block displays student in group high scores as sca Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 1" in the "Activity results" "block" And I should see "Excellent!" in the "Activity results" "block" @@ -118,10 +118,10 @@ Feature: The activity results block displays student in group high scores as sca And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_nameformat | Display only ID numbers | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_nameformat | Display only ID numbers | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group" in the "Activity results" "block" And I should see "Excellent!" in the "Activity results" "block" @@ -141,10 +141,10 @@ Feature: The activity results block displays student in group high scores as sca Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_nameformat | Anonymous results | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_nameformat | Anonymous results | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group" in the "Activity results" "block" And I should see "Excellent!" in the "Activity results" "block" diff --git a/blocks/activity_results/tests/behat/highscoreswithseperategroups.feature b/blocks/activity_results/tests/behat/highscoreswithseperategroups.feature index 251576d5462..fd523674b84 100644 --- a/blocks/activity_results/tests/behat/highscoreswithseperategroups.feature +++ b/blocks/activity_results/tests/behat/highscoreswithseperategroups.feature @@ -66,12 +66,12 @@ Feature: The activity results block displays student in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | - | id_config_usegroups | Yes | + | config_showbest | 1 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 1" in the "Activity results" "block" And I should see "95%" in the "Activity results" "block" @@ -80,11 +80,11 @@ Feature: The activity results block displays student in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 1 | + | config_showworst | 0 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 1" in the "Activity results" "block" And I should see "95.00/100.00" in the "Activity results" "block" @@ -98,11 +98,11 @@ Feature: The activity results block displays student in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 1 | + | config_showworst | 0 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 1" in the "Activity results" "block" And I should see "95.00" in the "Activity results" "block" @@ -116,12 +116,12 @@ Feature: The activity results block displays student in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 1" in the "Activity results" "block" And I should see "95%" in the "Activity results" "block" @@ -141,11 +141,11 @@ Feature: The activity results block displays student in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 1" in the "Activity results" "block" And I should see "95.00/100.00" in the "Activity results" "block" @@ -165,11 +165,11 @@ Feature: The activity results block displays student in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 1" in the "Activity results" "block" And I should see "95.00" in the "Activity results" "block" @@ -191,11 +191,11 @@ Feature: The activity results block displays student in separate groups scores And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display only ID numbers | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display only ID numbers | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group" in the "Activity results" "block" And I should see "95.00%" in the "Activity results" "block" @@ -215,11 +215,11 @@ Feature: The activity results block displays student in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Anonymous results | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Anonymous results | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group" in the "Activity results" "block" And I should see "95.00%" in the "Activity results" "block" diff --git a/blocks/activity_results/tests/behat/highscoreswithvisiblegroups.feature b/blocks/activity_results/tests/behat/highscoreswithvisiblegroups.feature index 48d035ca2dd..479d8b01d92 100644 --- a/blocks/activity_results/tests/behat/highscoreswithvisiblegroups.feature +++ b/blocks/activity_results/tests/behat/highscoreswithvisiblegroups.feature @@ -67,12 +67,12 @@ Feature: The activity results block displays student in visible groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | - | id_config_usegroups | Yes | + | config_showbest | 1 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 1" in the "Activity results" "block" And I should see "95%" in the "Activity results" "block" @@ -81,11 +81,11 @@ Feature: The activity results block displays student in visible groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 1 | + | config_showworst | 0 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -97,11 +97,11 @@ Feature: The activity results block displays student in visible groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 1 | - | id_config_showworst | 0 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 1 | + | config_showworst | 0 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -113,12 +113,12 @@ Feature: The activity results block displays student in visible groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -134,11 +134,11 @@ Feature: The activity results block displays student in visible groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -154,11 +154,11 @@ Feature: The activity results block displays student in visible groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -176,11 +176,11 @@ Feature: The activity results block displays student in visible groups scores And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display only ID numbers | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Display only ID numbers | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -194,11 +194,11 @@ Feature: The activity results block displays student in visible groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 3 | - | id_config_showworst | 0 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Anonymous results | - | id_config_usegroups | Yes | + | config_showbest | 3 | + | config_showworst | 0 | + | config_gradeformat | Percentages | + | config_nameformat | Anonymous results | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" diff --git a/blocks/activity_results/tests/behat/lowscoreswithoutgroups.feature b/blocks/activity_results/tests/behat/lowscoreswithoutgroups.feature index 6188e511b8b..753cc1eb1dc 100644 --- a/blocks/activity_results/tests/behat/lowscoreswithoutgroups.feature +++ b/blocks/activity_results/tests/behat/lowscoreswithoutgroups.feature @@ -47,11 +47,11 @@ Feature: The activity results block displays student low scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | + | config_showbest | 0 | + | config_showworst | 1 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | And I press "Save changes" Then I should see "Student 5" in the "Activity results" "block" And I should see "50%" in the "Activity results" "block" @@ -60,10 +60,10 @@ Feature: The activity results block displays student low scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | + | config_showbest | 0 | + | config_showworst | 1 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 5" in the "Activity results" "block" And I should see "50.00/100.00" in the "Activity results" "block" @@ -72,10 +72,10 @@ Feature: The activity results block displays student low scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | + | config_showbest | 0 | + | config_showworst | 1 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 5" in the "Activity results" "block" And I should see "50.00" in the "Activity results" "block" @@ -84,11 +84,11 @@ Feature: The activity results block displays student low scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 3 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | + | config_showbest | 0 | + | config_showworst | 3 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | And I press "Save changes" Then I should see "Student 5" in the "Activity results" "block" And I should see "50%" in the "Activity results" "block" @@ -101,10 +101,10 @@ Feature: The activity results block displays student low scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 3 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | + | config_showbest | 0 | + | config_showworst | 3 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 5" in the "Activity results" "block" And I should see "50.00/100.00" in the "Activity results" "block" @@ -117,10 +117,10 @@ Feature: The activity results block displays student low scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 3 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | + | config_showbest | 0 | + | config_showworst | 3 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 5" in the "Activity results" "block" And I should see "50.00" in the "Activity results" "block" @@ -135,10 +135,10 @@ Feature: The activity results block displays student low scores And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 3 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display only ID numbers | + | config_showbest | 0 | + | config_showworst | 3 | + | config_gradeformat | Percentages | + | config_nameformat | Display only ID numbers | And I press "Save changes" Then I should see "User S5" in the "Activity results" "block" And I should see "50.00%" in the "Activity results" "block" @@ -151,10 +151,10 @@ Feature: The activity results block displays student low scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 3 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Anonymous results | + | config_showbest | 0 | + | config_showworst | 3 | + | config_gradeformat | Percentages | + | config_nameformat | Anonymous results | And I press "Save changes" Then I should see "User" in the "Activity results" "block" And I should see "50.00%" in the "Activity results" "block" diff --git a/blocks/activity_results/tests/behat/lowscoreswithscales.feature b/blocks/activity_results/tests/behat/lowscoreswithscales.feature index 62e6238046e..6b94c52d1e8 100644 --- a/blocks/activity_results/tests/behat/lowscoreswithscales.feature +++ b/blocks/activity_results/tests/behat/lowscoreswithscales.feature @@ -61,11 +61,11 @@ Feature: The activity results block displays student low scores as scales Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | + | config_showbest | 0 | + | config_showworst | 1 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | And I press "Save changes" Then I should see "Student 5" in the "Activity results" "block" And I should see "Not good enough" in the "Activity results" "block" @@ -74,9 +74,9 @@ Feature: The activity results block displays student low scores as scales Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 3 | - | id_config_nameformat | Display full names | + | config_showbest | 0 | + | config_showworst | 3 | + | config_nameformat | Display full names | And I press "Save changes" Then I should see "Student 5" in the "Activity results" "block" And I should see "Not good enough" in the "Activity results" "block" @@ -91,9 +91,9 @@ Feature: The activity results block displays student low scores as scales And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 3 | - | id_config_nameformat | Display only ID numbers | + | config_showbest | 0 | + | config_showworst | 3 | + | config_nameformat | Display only ID numbers | And I press "Save changes" Then I should see "User S5" in the "Activity results" "block" And I should see "Not good enough" in the "Activity results" "block" @@ -106,9 +106,9 @@ Feature: The activity results block displays student low scores as scales Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 3 | - | id_config_nameformat | Anonymous results | + | config_showbest | 0 | + | config_showworst | 3 | + | config_nameformat | Anonymous results | And I press "Save changes" Then I should see "User" in the "Activity results" "block" And I should not see "Student 5" in the "Activity results" "block" diff --git a/blocks/activity_results/tests/behat/lowscoreswithscalesandgroups.feature b/blocks/activity_results/tests/behat/lowscoreswithscalesandgroups.feature index 345164b6489..d9265d318e7 100644 --- a/blocks/activity_results/tests/behat/lowscoreswithscalesandgroups.feature +++ b/blocks/activity_results/tests/behat/lowscoreswithscalesandgroups.feature @@ -80,10 +80,10 @@ Feature: The activity results block displays students in groups low scores as sc Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 1 | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 3" in the "Activity results" "block" And I should see "Good" in the "Activity results" "block" @@ -97,10 +97,10 @@ Feature: The activity results block displays students in groups low scores as sc Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 2" in the "Activity results" "block" And I should see "Very good" in the "Activity results" "block" @@ -120,10 +120,10 @@ Feature: The activity results block displays students in groups low scores as sc And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_nameformat | Display only ID numbers | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_nameformat | Display only ID numbers | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group" in the "Activity results" "block" And I should see "Very good" in the "Activity results" "block" @@ -142,10 +142,10 @@ Feature: The activity results block displays students in groups low scores as sc Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_nameformat | Anonymous results | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_nameformat | Anonymous results | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group" in the "Activity results" "block" And I should see "Very good" in the "Activity results" "block" diff --git a/blocks/activity_results/tests/behat/lowscoreswithseperategroups.feature b/blocks/activity_results/tests/behat/lowscoreswithseperategroups.feature index 523681e74b9..7f4fcfa276d 100644 --- a/blocks/activity_results/tests/behat/lowscoreswithseperategroups.feature +++ b/blocks/activity_results/tests/behat/lowscoreswithseperategroups.feature @@ -60,12 +60,12 @@ Feature: The activity results block displays students in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 1 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 3" in the "Activity results" "block" And I should see "75%" in the "Activity results" "block" @@ -74,11 +74,11 @@ Feature: The activity results block displays students in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 1 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 3" in the "Activity results" "block" And I should see "75.00/100.00" in the "Activity results" "block" @@ -92,11 +92,11 @@ Feature: The activity results block displays students in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 1 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 3" in the "Activity results" "block" And I should see "75.00" in the "Activity results" "block" @@ -110,12 +110,12 @@ Feature: The activity results block displays students in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 2" in the "Activity results" "block" And I should see "85%" in the "Activity results" "block" @@ -133,11 +133,11 @@ Feature: The activity results block displays students in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 2" in the "Activity results" "block" And I should see "85.00/100.00" in the "Activity results" "block" @@ -155,11 +155,11 @@ Feature: The activity results block displays students in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 2" in the "Activity results" "block" And I should see "85.00" in the "Activity results" "block" @@ -179,11 +179,11 @@ Feature: The activity results block displays students in separate groups scores And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display only ID numbers | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_gradeformat | Percentages | + | config_nameformat | Display only ID numbers | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group" in the "Activity results" "block" And I should see "85.00%" in the "Activity results" "block" @@ -202,11 +202,11 @@ Feature: The activity results block displays students in separate groups scores Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Anonymous results | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_gradeformat | Percentages | + | config_nameformat | Anonymous results | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group" in the "Activity results" "block" And I should see "85.00%" in the "Activity results" "block" diff --git a/blocks/activity_results/tests/behat/lowscoreswithvisiblegroups.feature b/blocks/activity_results/tests/behat/lowscoreswithvisiblegroups.feature index 29d7a29e9bb..7e6fb4d4705 100644 --- a/blocks/activity_results/tests/behat/lowscoreswithvisiblegroups.feature +++ b/blocks/activity_results/tests/behat/lowscoreswithvisiblegroups.feature @@ -66,12 +66,12 @@ Feature: The activity results block displays student in visible groups low score Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 1 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 3" in the "Activity results" "block" And I should see "75%" in the "Activity results" "block" @@ -80,11 +80,11 @@ Feature: The activity results block displays student in visible groups low score Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 1 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -96,11 +96,11 @@ Feature: The activity results block displays student in visible groups low score Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 1 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 1 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -112,12 +112,12 @@ Feature: The activity results block displays student in visible groups low score Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display full names | - | id_config_decimalpoints | 0 | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_gradeformat | Percentages | + | config_nameformat | Display full names | + | config_decimalpoints | 0 | + | config_usegroups | Yes | And I press "Save changes" Then I should see "Group 2" in the "Activity results" "block" And I should see "85%" in the "Activity results" "block" @@ -135,11 +135,11 @@ Feature: The activity results block displays student in visible groups low score Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_gradeformat | Fractions | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_gradeformat | Fractions | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -153,11 +153,11 @@ Feature: The activity results block displays student in visible groups low score Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_gradeformat | Absolute numbers | - | id_config_nameformat | Display full names | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_gradeformat | Absolute numbers | + | config_nameformat | Display full names | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -173,11 +173,11 @@ Feature: The activity results block displays student in visible groups low score And I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Display only ID numbers | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_gradeformat | Percentages | + | config_nameformat | Display only ID numbers | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" @@ -190,11 +190,11 @@ Feature: The activity results block displays student in visible groups low score Given I add the "Activity results" block When I configure the "Activity results" block And I set the following fields to these values: - | id_config_showbest | 0 | - | id_config_showworst | 2 | - | id_config_gradeformat | Percentages | - | id_config_nameformat | Anonymous results | - | id_config_usegroups | Yes | + | config_showbest | 0 | + | config_showworst | 2 | + | config_gradeformat | Percentages | + | config_nameformat | Anonymous results | + | config_usegroups | Yes | And I press "Save changes" And I log out Then I log in as "student1" diff --git a/blocks/badges/tests/behat/block_badges_course.feature b/blocks/badges/tests/behat/block_badges_course.feature index 8bdf5538b94..5cdacf20f67 100644 --- a/blocks/badges/tests/behat/block_badges_course.feature +++ b/blocks/badges/tests/behat/block_badges_course.feature @@ -64,7 +64,7 @@ Feature: Enable Block Badges in a course When I add the "Latest badges" block And I configure the "Latest badges" block And I set the following fields to these values: - | id_config_numberofbadges | 1 | + | Number of latest badges to display | 1 | And I press "Save changes" Then I should see "Badge 2" in the "Latest badges" "block" And I should not see "Badge 1" in the "Latest badges" "block" diff --git a/blocks/blog_recent/tests/behat/block_blog_recent_activity.feature b/blocks/blog_recent/tests/behat/block_blog_recent_activity.feature index 70407adb747..01e75d39314 100644 --- a/blocks/blog_recent/tests/behat/block_blog_recent_activity.feature +++ b/blocks/blog_recent/tests/behat/block_blog_recent_activity.feature @@ -113,7 +113,7 @@ Feature: Students can use the recent blog entries block to view recent entries o And I follow "Test assignment 1" And I configure the "Recent blog entries" block And I set the following fields to these values: - | id_config_numberofrecentblogentries | 2 | + | config_numberofrecentblogentries | 2 | And I press "Save changes" And I should see "S1 Fourth Blog" And I should see "S1 Fifth Blog" diff --git a/blocks/blog_recent/tests/behat/block_blog_recent_course.feature b/blocks/blog_recent/tests/behat/block_blog_recent_course.feature index 923d077463b..e8c7fccc577 100644 --- a/blocks/blog_recent/tests/behat/block_blog_recent_course.feature +++ b/blocks/blog_recent/tests/behat/block_blog_recent_course.feature @@ -101,7 +101,7 @@ Feature: Students can use the recent blog entries block to view recent entries o And I am on "Course 1" course homepage with editing mode on And I configure the "Recent blog entries" block And I set the following fields to these values: - | id_config_numberofrecentblogentries | 2 | + | config_numberofrecentblogentries | 2 | And I press "Save changes" And I should see "S1 Fourth Blog" And I should see "S1 Fifth Blog" diff --git a/blocks/blog_recent/tests/behat/block_blog_recent_frontpage.feature b/blocks/blog_recent/tests/behat/block_blog_recent_frontpage.feature index aa5fd1f6a71..00cb9472c8d 100644 --- a/blocks/blog_recent/tests/behat/block_blog_recent_frontpage.feature +++ b/blocks/blog_recent/tests/behat/block_blog_recent_frontpage.feature @@ -94,7 +94,7 @@ Feature: Feature: Students can use the recent blog entries block to view recent And I turn editing mode on And I configure the "Recent blog entries" block And I set the following fields to these values: - | id_config_numberofrecentblogentries | 2 | + | config_numberofrecentblogentries | 2 | And I press "Save changes" And I should see "S1 Fourth Blog" And I should see "S1 Fifth Blog" diff --git a/blocks/section_links/tests/behat/block_section_links_course.feature b/blocks/section_links/tests/behat/block_section_links_course.feature index d94ac4794a0..27ac1516797 100644 --- a/blocks/section_links/tests/behat/block_section_links_course.feature +++ b/blocks/section_links/tests/behat/block_section_links_course.feature @@ -35,10 +35,10 @@ Feature: The section links block allows users to quickly navigate around a moodl And I add the "Section links" block And I configure the "Section links" block And I set the following fields to these values: - | id_config_numsections1 | 5 | - | id_config_incby1 | 5 | - | id_config_numsections2 | 40 | - | id_config_incby2 | 10 | + | config_numsections1 | 5 | + | config_incby1 | 5 | + | config_numsections2 | 40 | + | config_incby2 | 10 | And I press "Save changes" And I turn editing mode off And I should see "5" in the "Section links" "block" @@ -51,10 +51,10 @@ Feature: The section links block allows users to quickly navigate around a moodl And I add the "Section links" block And I configure the "Section links" block And I set the following fields to these values: - | id_config_numsections1 | 5 | - | id_config_incby1 | 1 | - | id_config_numsections2 | 10 | - | id_config_incby2 | 5 | + | config_numsections1 | 5 | + | config_incby1 | 1 | + | config_numsections2 | 10 | + | config_incby2 | 5 | And I press "Save changes" And I turn editing mode off And I should see "5" in the "Section links" "block"