| Línea 9... |
Línea 9... |
| 9 |
| username | firstname | lastname | email |
|
9 |
| username | firstname | lastname | email |
|
| 10 |
| student1 | Student | 1 | student1@example.com |
|
10 |
| student1 | Student | 1 | student1@example.com |
|
| 11 |
| student2 | Student | 2 | student2@example.com |
|
11 |
| student2 | Student | 2 | student2@example.com |
|
| 12 |
| teacher1 | Teacher | 1 | teacher1@example.com |
|
12 |
| teacher1 | Teacher | 1 | teacher1@example.com |
|
| 13 |
| teacher2 | Teacher | 2 | teacher2@example.com |
|
13 |
| teacher2 | Teacher | 2 | teacher2@example.com |
|
| - |
|
14 |
And the following config values are set as admin:
|
| - |
|
15 |
| enrol_guest | Yes |
|
| 14 |
And the following "courses" exist:
|
16 |
And the following "courses" exist:
|
| 15 |
| fullname | shortname | category |
|
17 |
| fullname | shortname | category |
|
| 16 |
| Course 1 | C1 | 0 |
|
18 |
| Course 1 | C1 | 0 |
|
| - |
|
19 |
And I am on the "Course 1" "enrolment methods" page logged in as admin
|
| - |
|
20 |
And I click on "Enable" "link" in the "Guest access" "table_row"
|
| 17 |
And the following "course enrolments" exist:
|
21 |
And the following "course enrolments" exist:
|
| 18 |
| user | course | role |
|
22 |
| user | course | role |
|
| 19 |
| student1 | C1 | student |
|
23 |
| student1 | C1 | student |
|
| 20 |
| student2 | C1 | student |
|
24 |
| student2 | C1 | student |
|
| 21 |
| teacher1 | C1 | editingteacher |
|
25 |
| teacher1 | C1 | editingteacher |
|
| Línea 42... |
Línea 46... |
| 42 |
And I should <attempttrackingsettings> "You can enable it in Settings."
|
46 |
And I should <attempttrackingsettings> "You can enable it in Settings."
|
| 43 |
And I should <viewattempts> "View attempts (3)"
|
47 |
And I should <viewattempts> "View attempts (3)"
|
| Línea 44... |
Línea 48... |
| 44 |
|
48 |
|
| 45 |
Examples:
|
49 |
Examples:
|
| - |
|
50 |
| user | enabletracking | reviewmode | attemptsreportlink | previewmode | attempttracking | attempttrackingsettings | viewattempts |
|
| - |
|
51 |
| guest | 1 | 1 | not exist | not see | not see | not see | not see |
|
| - |
|
52 |
| guest | 1 | 0 | not exist | not see | not see | not see | not see |
|
| 46 |
| user | enabletracking | reviewmode | attemptsreportlink | previewmode | attempttracking | attempttrackingsettings | viewattempts |
|
53 |
| guest | 0 | 1 | not exist | not see | not see | not see | not see |
|
| 47 |
| student1 | 1 | 1 | exist | not see | not see | not see | not see |
|
54 |
| student1 | 1 | 1 | exist | not see | not see | not see | not see |
|
| 48 |
| student1 | 1 | 0 | not exist | not see | not see | not see | not see |
|
55 |
| student1 | 1 | 0 | not exist | not see | not see | not see | not see |
|
| 49 |
| student1 | 0 | 1 | not exist | not see | not see | not see | not see |
|
56 |
| student1 | 0 | 1 | not exist | not see | not see | not see | not see |
|
| 50 |
| teacher1 | 1 | 1 | exist | see | not see | not see | see |
|
57 |
| teacher1 | 1 | 1 | exist | see | not see | not see | see |
|