| Línea 14... |
Línea 14... |
| 14 |
| Group 2 | C1 | G2 | 1 |
|
14 |
| Group 2 | C1 | G2 | 1 |
|
| 15 |
| Group 3 | C1 | G3 | 0 |
|
15 |
| Group 3 | C1 | G3 | 0 |
|
| 16 |
And the following "users" exist:
|
16 |
And the following "users" exist:
|
| 17 |
| username | firstname | lastname | email |
|
17 |
| username | firstname | lastname | email |
|
| 18 |
| teacher1 | TeacherG1 | 1 | teacher1@example.com |
|
18 |
| teacher1 | TeacherG1 | 1 | teacher1@example.com |
|
| - |
|
19 |
| teacher2 | TeacherGNone | 2 | teacher2@example.com |
|
| - |
|
20 |
| teacher3 | TeacherGNone | 3 | teacher3@example.com |
|
| 19 |
| user1 | User1G1 | 1 | user1@example.com |
|
21 |
| user1 | User1G1 | 1 | user1@example.com |
|
| 20 |
| user2 | User2G2 | 2 | user2@example.com |
|
22 |
| user2 | User2G2 | 2 | user2@example.com |
|
| 21 |
| user3 | User3None | 3 | user3@example.com |
|
23 |
| user3 | User3None | 3 | user3@example.com |
|
| 22 |
| user4 | User4NPgroup | 4 | user4@example.com |
|
24 |
| user4 | User4NPgroup | 4 | user4@example.com |
|
| 23 |
And the following "course enrolments" exist:
|
25 |
And the following "course enrolments" exist:
|
| 24 |
| user | course | role |
|
26 |
| user | course | role |
|
| 25 |
| teacher1 | C1 | editingteacher |
|
27 |
| teacher1 | C1 | editingteacher |
|
| - |
|
28 |
| teacher2 | C1 | editingteacher |
|
| - |
|
29 |
| teacher3 | C1 | teacher |
|
| 26 |
| user1 | C1 | student |
|
30 |
| user1 | C1 | student |
|
| 27 |
| user2 | C1 | student |
|
31 |
| user2 | C1 | student |
|
| 28 |
| user3 | C1 | student |
|
32 |
| user3 | C1 | student |
|
| 29 |
| user4 | C1 | student |
|
33 |
| user4 | C1 | student |
|
| 30 |
And the following "group members" exist:
|
34 |
And the following "group members" exist:
|
| Línea 71... |
Línea 75... |
| 71 |
And I should not see "Group 3"
|
75 |
And I should not see "Group 3"
|
| Línea 72... |
Línea 76... |
| 72 |
|
76 |
|
| 73 |
Examples:
|
77 |
Examples:
|
| 74 |
| data | user | all | G1 | G2 | user1 | user2 |
|
78 |
| data | user | all | G1 | G2 | user1 | user2 |
|
| - |
|
79 |
| data1 | teacher1 | should see | should see | should see | should see | should see |
|
| - |
|
80 |
| data1 | teacher2 | should see | should see | should see | should see | should see |
|
| 75 |
| data1 | teacher1 | should see | should see | should see | should see | should see |
|
81 |
| data1 | teacher3 | should see | should not see | should not see | should not see | should not see |
|
| 76 |
| data1 | user1 | should not see | should see | should not see | should see | should not see |
|
82 |
| data1 | user1 | should not see | should see | should not see | should see | should not see |
|
| 77 |
| data1 | user2 | should not see | should not see | should see | should not see | should see |
|
83 |
| data1 | user2 | should not see | should not see | should see | should not see | should see |
|
| 78 |
| data1 | user3 | should see | should not see | should not see | should not see | should not see |
|
84 |
| data1 | user3 | should see | should not see | should not see | should not see | should not see |
|
| 79 |
| data1 | user4 | should see | should not see | should not see | should not see | should not see |
|
85 |
| data1 | user4 | should see | should not see | should not see | should not see | should not see |
|
| - |
|
86 |
| data2 | teacher1 | should see | should see | should see | should see | should see |
|
| - |
|
87 |
| data2 | teacher2 | should see | should see | should see | should see | should see |
|
| 80 |
| data2 | teacher1 | should see | should see | should see | should see | should see |
|
88 |
| data2 | teacher3 | should see | should see | should see | should see | should not see |
|
| 81 |
| data2 | user1 | should see | should see | should see | should see | should not see |
|
89 |
| data2 | user1 | should see | should see | should see | should see | should not see |
|
| 82 |
| data2 | user2 | should see | should see | should see | should not see | should see |
|
90 |
| data2 | user2 | should see | should see | should see | should not see | should see |
|
| 83 |
| data2 | user3 | should see | should see | should see | should see | should not see |
|
91 |
| data2 | user3 | should see | should see | should see | should see | should not see |
|