Commit 0fe86bbd authored by Rajesh Taneja's avatar Rajesh Taneja
Browse files

MDL-49799 behat: replaced asd.com with example.com

asd.com is a valid domain, we should use reserved domain names for testing
parent d302ba23
......@@ -7,7 +7,7 @@ Feature: The activity results block displays student scores
Background:
Given the following "users" exist:
| username | firstname | lastname | email | idnumber |
| teacher1 | Teacher | 1 | teacher1@asd.com | T1 |
| teacher1 | Teacher | 1 | teacher1@example.com | T1 |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
......
......@@ -7,12 +7,12 @@ Feature: The activity results block displays student scores
Background:
Given the following "users" exist:
| username | firstname | lastname | email | idnumber |
| teacher1 | Teacher | 1 | teacher1@asd.com | T1 |
| student1 | Student | 1 | student1@asd.com | S1 |
| student2 | Student | 2 | student2@asd.com | S2 |
| student3 | Student | 3 | student3@asd.com | S3 |
| student4 | Student | 4 | student4@asd.com | S4 |
| student5 | Student | 5 | student5@asd.com | S5 |
| teacher1 | Teacher | 1 | teacher1@example.com | T1 |
| student1 | Student | 1 | student1@example.com | S1 |
| student2 | Student | 2 | student2@example.com | S2 |
| student3 | Student | 3 | student3@example.com | S3 |
| student4 | Student | 4 | student4@example.com | S4 |
| student5 | Student | 5 | student5@example.com | S5 |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
......
......@@ -7,13 +7,13 @@ Feature: The activity results block displays student scores
Background:
Given the following "users" exist:
| username | firstname | lastname | email | idnumber |
| teacher1 | Teacher | 1 | teacher1@asd.com | T1 |
| student1 | Student | 1 | student1@asd.com | S1 |
| student2 | Student | 2 | student2@asd.com | S2 |
| student3 | Student | 3 | student3@asd.com | S3 |
| student4 | Student | 4 | student4@asd.com | S4 |
| student5 | Student | 5 | student5@asd.com | S5 |
| student6 | Student | 6 | student6@asd.com | S6 |
| teacher1 | Teacher | 1 | teacher1@example.com | T1 |
| student1 | Student | 1 | student1@example.com | S1 |
| student2 | Student | 2 | student2@example.com | S2 |
| student3 | Student | 3 | student3@example.com | S3 |
| student4 | Student | 4 | student4@example.com | S4 |
| student5 | Student | 5 | student5@example.com | S5 |
| student6 | Student | 6 | student6@example.com | S6 |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
......@@ -40,12 +40,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -83,12 +83,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -130,12 +130,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -177,12 +177,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -231,12 +231,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -284,12 +284,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -337,12 +337,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -388,12 +388,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......
......@@ -7,13 +7,13 @@ Feature: The activity results block displays student scores
Background:
Given the following "users" exist:
| username | firstname | lastname | email | idnumber |
| teacher1 | Teacher | 1 | teacher1@asd.com | T1 |
| student1 | Student | 1 | student1@asd.com | S1 |
| student2 | Student | 2 | student2@asd.com | S2 |
| student3 | Student | 3 | student3@asd.com | S3 |
| student4 | Student | 4 | student4@asd.com | S4 |
| student5 | Student | 5 | student5@asd.com | S5 |
| student6 | Student | 6 | student6@asd.com | S6 |
| teacher1 | Teacher | 1 | teacher1@example.com | T1 |
| student1 | Student | 1 | student1@example.com | S1 |
| student2 | Student | 2 | student2@example.com | S2 |
| student3 | Student | 3 | student3@example.com | S3 |
| student4 | Student | 4 | student4@example.com | S4 |
| student5 | Student | 5 | student5@example.com | S5 |
| student6 | Student | 6 | student6@example.com | S6 |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
......@@ -40,12 +40,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -83,12 +83,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -128,12 +128,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -173,12 +173,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -223,12 +223,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -272,12 +272,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -321,12 +321,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -368,12 +368,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......
......@@ -7,12 +7,12 @@ Feature: The activity results block displays student scores
Background:
Given the following "users" exist:
| username | firstname | lastname | email | idnumber |
| teacher1 | Teacher | 1 | teacher1@asd.com | T1 |
| student1 | Student | 1 | student1@asd.com | S1 |
| student2 | Student | 2 | student2@asd.com | S2 |
| student3 | Student | 3 | student3@asd.com | S3 |
| student4 | Student | 4 | student4@asd.com | S4 |
| student5 | Student | 5 | student5@asd.com | S5 |
| teacher1 | Teacher | 1 | teacher1@example.com | T1 |
| student1 | Student | 1 | student1@example.com | S1 |
| student2 | Student | 2 | student2@example.com | S2 |
| student3 | Student | 3 | student3@example.com | S3 |
| student4 | Student | 4 | student4@example.com | S4 |
| student5 | Student | 5 | student5@example.com | S5 |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
......
......@@ -7,13 +7,13 @@ Feature: The activity results block displays student scores
Background:
Given the following "users" exist:
| username | firstname | lastname | email | idnumber |
| teacher1 | Teacher | 1 | teacher1@asd.com | T1 |
| student1 | Student | 1 | student1@asd.com | S1 |
| student2 | Student | 2 | student2@asd.com | S2 |
| student3 | Student | 3 | student3@asd.com | S3 |
| student4 | Student | 4 | student4@asd.com | S4 |
| student5 | Student | 5 | student5@asd.com | S5 |
| student6 | Student | 6 | student6@asd.com | S6 |
| teacher1 | Teacher | 1 | teacher1@example.com | T1 |
| student1 | Student | 1 | student1@example.com | S1 |
| student2 | Student | 2 | student2@example.com | S2 |
| student3 | Student | 3 | student3@example.com | S3 |
| student4 | Student | 4 | student4@example.com | S4 |
| student5 | Student | 5 | student5@example.com | S5 |
| student6 | Student | 6 | student6@example.com | S6 |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
......@@ -40,12 +40,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -83,12 +83,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -130,12 +130,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -177,12 +177,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -229,12 +229,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -280,12 +280,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -331,12 +331,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......@@ -381,12 +381,12 @@ Feature: The activity results block displays student scores
And I follow "Course 1"
And I expand "Users" node
And I follow "Groups"
And I add "Student 1 (student1@asd.com)" user to "Group 1" group members
And I add "Student 2 (student2@asd.com)" user to "Group 1" group members
And I add "Student 3 (student3@asd.com)" user to "Group 2" group members
And I add "Student 4 (student4@asd.com)" user to "Group 2" group members
And I add "Student 5 (student5@asd.com)" user to "Group 3" group members
And I add "Student 6 (student6@asd.com)" user to "Group 3" group members
And I add "Student 1 (student1@example.com)" user to "Group 1" group members
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I add "Student 3 (student3@example.com)" user to "Group 2" group members
And I add "Student 4 (student4@example.com)" user to "Group 2" group members
And I add "Student 5 (student5@example.com)" user to "Group 3" group members
And I add "Student 6 (student6@example.com)" user to "Group 3" group members
And I follow "Course 1"
And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with:
......
......@@ -7,13 +7,13 @@ Feature: The activity results block displays student scores
Background:
Given the following "users" exist:
| username | firstname | lastname | email | idnumber |
| teacher1 | Teacher | 1 | teacher1@asd.com | T1 |
| student1 | Student | 1 | student1@asd.com | S1 |
| student2 | Student | 2 | student2@asd.com | S2 |
| student3 | Student | 3 | student3@asd.com | S3 |
| student4 | Student | 4 | student4@asd.com | S4 |
| student5 | Student | 5 | student5@asd.com | S5 |
| student6 | Student | 6 | student6@asd.com | S6 |
| teacher1 | Teacher | 1 | teacher1@example.com | T1 |
| student1 | Student | 1 | student1@