Línea 54... |
Línea 54... |
54 |
| student8 | N |
|
54 |
| student8 | N |
|
Línea 55... |
Línea 55... |
55 |
|
55 |
|
56 |
Scenario: Participants in "Visible" groups see their membership and other members:
|
56 |
Scenario: Participants in "Visible" groups see their membership and other members:
|
57 |
Given I am on the "C1" "enrolled users" page logged in as "student1"
|
57 |
Given I am on the "C1" "enrolled users" page logged in as "student1"
|
58 |
Then the following should exist in the "participants" table:
|
58 |
Then the following should exist in the "participants" table:
|
59 |
| First name / Surname | Groups |
|
59 |
| First name | Groups |
|
60 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
60 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
61 |
| Student 2 | No groups |
|
61 |
| Student 2 | No groups |
|
62 |
| Student 3 | No groups |
|
62 |
| Student 3 | No groups |
|
63 |
| Student 4 | No groups |
|
63 |
| Student 4 | No groups |
|
Línea 67... |
Línea 67... |
67 |
| Student 8 | No groups |
|
67 |
| Student 8 | No groups |
|
Línea 68... |
Línea 68... |
68 |
|
68 |
|
69 |
Scenario: Participants in "Only visible to members" groups see their membership and other members, plus "Visible"
|
69 |
Scenario: Participants in "Only visible to members" groups see their membership and other members, plus "Visible"
|
70 |
Given I am on the "C1" "enrolled users" page logged in as "student2"
|
70 |
Given I am on the "C1" "enrolled users" page logged in as "student2"
|
71 |
Then the following should exist in the "participants" table:
|
71 |
Then the following should exist in the "participants" table:
|
72 |
| First name / Surname | Groups |
|
72 |
| First name | Groups |
|
73 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
73 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
74 |
| Student 2 | Only visible to members/Non-Participation, Only visible to members/Participation |
|
74 |
| Student 2 | Only visible to members/Non-Participation, Only visible to members/Participation |
|
75 |
| Student 3 | No groups |
|
75 |
| Student 3 | No groups |
|
76 |
| Student 4 | No groups |
|
76 |
| Student 4 | No groups |
|
Línea 80... |
Línea 80... |
80 |
| Student 8 | No groups |
|
80 |
| Student 8 | No groups |
|
Línea 81... |
Línea 81... |
81 |
|
81 |
|
82 |
Scenario: Participants in "Only see own membership" groups see their membership but not other members, plus "Visible"
|
82 |
Scenario: Participants in "Only see own membership" groups see their membership but not other members, plus "Visible"
|
83 |
Given I am on the "C1" "enrolled users" page logged in as "student3"
|
83 |
Given I am on the "C1" "enrolled users" page logged in as "student3"
|
84 |
Then the following should exist in the "participants" table:
|
84 |
Then the following should exist in the "participants" table:
|
85 |
| First name / Surname | Groups |
|
85 |
| First name | Groups |
|
86 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
86 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
87 |
| Student 2 | No groups |
|
87 |
| Student 2 | No groups |
|
88 |
| Student 3 | Only see own membership |
|
88 |
| Student 3 | Only see own membership |
|
89 |
| Student 4 | No groups |
|
89 |
| Student 4 | No groups |
|
Línea 93... |
Línea 93... |
93 |
| Student 8 | No groups |
|
93 |
| Student 8 | No groups |
|
Línea 94... |
Línea 94... |
94 |
|
94 |
|
95 |
Scenario: Participants in "Not visible" groups do not see that group, do see "Visible"
|
95 |
Scenario: Participants in "Not visible" groups do not see that group, do see "Visible"
|
96 |
Given I am on the "C1" "enrolled users" page logged in as "student4"
|
96 |
Given I am on the "C1" "enrolled users" page logged in as "student4"
|
97 |
Then the following should exist in the "participants" table:
|
97 |
Then the following should exist in the "participants" table:
|
98 |
| First name / Surname | Groups |
|
98 |
| First name | Groups |
|
99 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
99 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
100 |
| Student 2 | No groups |
|
100 |
| Student 2 | No groups |
|
101 |
| Student 3 | No groups |
|
101 |
| Student 3 | No groups |
|
102 |
| Student 4 | No groups |
|
102 |
| Student 4 | No groups |
|
Línea 106... |
Línea 106... |
106 |
| Student 8 | No groups |
|
106 |
| Student 8 | No groups |
|
Línea 107... |
Línea 107... |
107 |
|
107 |
|
108 |
Scenario: View participants list as a teacher:
|
108 |
Scenario: View participants list as a teacher:
|
109 |
Given I am on the "C1" "enrolled users" page logged in as "teacher1"
|
109 |
Given I am on the "C1" "enrolled users" page logged in as "teacher1"
|
110 |
Then the following should exist in the "participants" table:
|
110 |
Then the following should exist in the "participants" table:
|
111 |
| First name / Surname | Groups |
|
111 |
| First name | Groups |
|
112 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
112 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
113 |
| Student 2 | Only visible to members/Non-Participation, Only visible to members/Participation |
|
113 |
| Student 2 | Only visible to members/Non-Participation, Only visible to members/Participation |
|
114 |
| Student 3 | Only see own membership |
|
114 |
| Student 3 | Only see own membership |
|
115 |
| Student 4 | Not visible |
|
115 |
| Student 4 | Not visible |
|
Línea 123... |
Línea 123... |
123 |
Given I am on the "C1" "enrolled users" page logged in as "student3"
|
123 |
Given I am on the "C1" "enrolled users" page logged in as "student3"
|
124 |
When I set the field "type" to "Groups"
|
124 |
When I set the field "type" to "Groups"
|
125 |
And I set the field "Type or select..." to "Only see own membership"
|
125 |
And I set the field "Type or select..." to "Only see own membership"
|
126 |
And I click on "Apply filters" "button"
|
126 |
And I click on "Apply filters" "button"
|
127 |
Then the following should exist in the "participants" table:
|
127 |
Then the following should exist in the "participants" table:
|
128 |
| First name / Surname | Groups |
|
128 |
| First name | Groups |
|
129 |
| Student 3 | Only see own membership |
|
129 |
| Student 3 | Only see own membership |
|
130 |
And the following should not exist in the "participants" table:
|
130 |
And the following should not exist in the "participants" table:
|
131 |
| First name / Surname | Groups |
|
131 |
| First name | Groups |
|
132 |
| Student 7 | No groups |
|
132 |
| Student 7 | No groups |
|
Línea 133... |
Línea 133... |
133 |
|
133 |
|
134 |
@javascript
|
134 |
@javascript
|
135 |
Scenario: Filtering by "No group" should show all users whose memberships I cannot see
|
135 |
Scenario: Filtering by "No group" should show all users whose memberships I cannot see
|
136 |
Given I am on the "C1" "enrolled users" page logged in as "student3"
|
136 |
Given I am on the "C1" "enrolled users" page logged in as "student3"
|
137 |
When I set the field "type" to "Groups"
|
137 |
When I set the field "type" to "Groups"
|
138 |
And I set the field "Type or select..." to "No group"
|
138 |
And I set the field "Type or select..." to "No group"
|
139 |
And I click on "Apply filters" "button"
|
139 |
And I click on "Apply filters" "button"
|
140 |
Then the following should exist in the "participants" table:
|
140 |
Then the following should exist in the "participants" table:
|
141 |
| First name / Surname | Groups |
|
141 |
| First name | Groups |
|
142 |
| Student 2 | No groups |
|
142 |
| Student 2 | No groups |
|
143 |
| Student 4 | No groups |
|
143 |
| Student 4 | No groups |
|
144 |
| Student 6 | No groups |
|
144 |
| Student 6 | No groups |
|
145 |
| Student 7 | No groups |
|
145 |
| Student 7 | No groups |
|
Línea 151... |
Línea 151... |
151 |
When I set the field "Match" in the "Filter 1" "fieldset" to "None"
|
151 |
When I set the field "Match" in the "Filter 1" "fieldset" to "None"
|
152 |
And I set the field "type" to "Groups"
|
152 |
And I set the field "type" to "Groups"
|
153 |
And I set the field "Type or select..." to "Only see own membership"
|
153 |
And I set the field "Type or select..." to "Only see own membership"
|
154 |
And I click on "Apply filters" "button"
|
154 |
And I click on "Apply filters" "button"
|
155 |
Then the following should exist in the "participants" table:
|
155 |
Then the following should exist in the "participants" table:
|
156 |
| First name / Surname | Groups |
|
156 |
| First name | Groups |
|
157 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
157 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
158 |
| Student 2 | No groups |
|
158 |
| Student 2 | No groups |
|
159 |
| Student 4 | No groups |
|
159 |
| Student 4 | No groups |
|
160 |
| Student 5 | Visible/Non-Participation, Visible/Participation |
|
160 |
| Student 5 | Visible/Non-Participation, Visible/Participation |
|
161 |
| Student 6 | No groups |
|
161 |
| Student 6 | No groups |
|
Línea 168... |
Línea 168... |
168 |
When I set the field "Match" in the "Filter 1" "fieldset" to "None"
|
168 |
When I set the field "Match" in the "Filter 1" "fieldset" to "None"
|
169 |
And I set the field "type" to "Groups"
|
169 |
And I set the field "type" to "Groups"
|
170 |
And I set the field "Type or select..." to "No group"
|
170 |
And I set the field "Type or select..." to "No group"
|
171 |
And I click on "Apply filters" "button"
|
171 |
And I click on "Apply filters" "button"
|
172 |
Then the following should exist in the "participants" table:
|
172 |
Then the following should exist in the "participants" table:
|
173 |
| First name / Surname | Groups |
|
173 |
| First name | Groups |
|
174 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
174 |
| Student 1 | Visible/Non-Participation, Visible/Participation |
|
175 |
| Student 3 | Only see own membership |
|
175 |
| Student 3 | Only see own membership |
|
176 |
| Student 5 | Visible/Non-Participation, Visible/Participation |
|
176 |
| Student 5 | Visible/Non-Participation, Visible/Participation |
|