Línea 24... |
Línea 24... |
24 |
| activity | course | idnumber | name | grade |
|
24 |
| activity | course | idnumber | name | grade |
|
25 |
| assign | C1 | a1 | Test assignment one | 300 |
|
25 |
| assign | C1 | a1 | Test assignment one | 300 |
|
26 |
And I am on the "Course" "grades > User report > View" page logged in as "teacher1"
|
26 |
And I am on the "Course" "grades > User report > View" page logged in as "teacher1"
|
Línea 27... |
Línea 27... |
27 |
|
27 |
|
28 |
Scenario: A teacher can navigate to the next user report
|
28 |
Scenario: A teacher can navigate to the next user report
|
29 |
Given I click on "Student 1" in the "user" search widget
|
29 |
Given I click on "Student 1" in the "Search users" search combo box
|
30 |
And "Student 1" "heading" should exist
|
30 |
And "Student 1" "heading" should exist
|
31 |
And ".previous" "css_element" should not exist in the ".user-navigation" "css_element"
|
31 |
And ".previous" "css_element" should not exist in the ".user-navigation" "css_element"
|
32 |
And ".next" "css_element" should exist in the ".user-navigation" "css_element"
|
32 |
And ".next" "css_element" should exist in the ".user-navigation" "css_element"
|
33 |
And I should see "Student 2" in the ".next" "css_element"
|
33 |
And I should see "Student 2" in the ".next" "css_element"
|
Línea 42... |
Línea 42... |
42 |
And ".previous" "css_element" should exist in the ".user-navigation" "css_element"
|
42 |
And ".previous" "css_element" should exist in the ".user-navigation" "css_element"
|
43 |
And I should see "Student 2" in the ".previous" "css_element"
|
43 |
And I should see "Student 2" in the ".previous" "css_element"
|
44 |
And ".next" "css_element" should not exist in the ".user-navigation" "css_element"
|
44 |
And ".next" "css_element" should not exist in the ".user-navigation" "css_element"
|
Línea 45... |
Línea 45... |
45 |
|
45 |
|
46 |
Scenario: A teacher can navigate to the previous user report
|
46 |
Scenario: A teacher can navigate to the previous user report
|
47 |
Given I click on "Student 3" in the "user" search widget
|
47 |
Given I click on "Student 3" in the "Search users" search combo box
|
48 |
And "Student 3" "heading" should exist
|
48 |
And "Student 3" "heading" should exist
|
49 |
And ".previous" "css_element" should exist in the ".user-navigation" "css_element"
|
49 |
And ".previous" "css_element" should exist in the ".user-navigation" "css_element"
|
50 |
And I should see "Student 2" in the ".previous" "css_element"
|
50 |
And I should see "Student 2" in the ".previous" "css_element"
|
51 |
And ".next" "css_element" should not exist in the ".user-navigation" "css_element"
|
51 |
And ".next" "css_element" should not exist in the ".user-navigation" "css_element"
|