mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-74553 blocks: do not refer to form fields by id
This is not compatible with the dynamic forms and random ids
This commit is contained in:
parent
941a29925e
commit
ecd569f942
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user