mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-74276 report: Update behat tests to account for new page.
This commit is contained in:
parent
3eb80e7386
commit
2c27a33213
28 changed files with 51 additions and 51 deletions
|
@ -42,7 +42,7 @@ Feature: Teacher can view and override users' activity completion data via the p
|
|||
# Teacher overrides the activity completion statuses to incomplete.
|
||||
When I am on the "Course 1" course page logged in as teacher1
|
||||
And I navigate to "Reports" in current page administration
|
||||
And I select "Activity completion" from the "Report type" singleselect
|
||||
And I click on "Activity completion" "link"
|
||||
And "Ann, Jill, Grainne, Beauchamp, my assignment: Completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row"
|
||||
And "Ann, Jill, Grainne, Beauchamp, my assignment 2: Completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row"
|
||||
And I click on "my assignment" "link" in the "Ann, Jill, Grainne, Beauchamp" "table_row"
|
||||
|
@ -68,7 +68,7 @@ Feature: Teacher can view and override users' activity completion data via the p
|
|||
# And the activity completion report should show the same.
|
||||
And I am on the "Course 1" Course page logged in as teacher1
|
||||
And I navigate to "Reports" in current page administration
|
||||
And I select "Activity completion" from the "Report type" singleselect
|
||||
And I click on "Activity completion" "link"
|
||||
And "Ann, Jill, Grainne, Beauchamp, my assignment: Completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row"
|
||||
And "Ann, Jill, Grainne, Beauchamp, my assignment 2: Completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row"
|
||||
|
||||
|
@ -80,7 +80,7 @@ Feature: Teacher can view and override users' activity completion data via the p
|
|||
# When the teacher overrides the activity completion statuses to complete.
|
||||
When I am on the "Course 1" Course page logged in as teacher1
|
||||
And I navigate to "Reports" in current page administration
|
||||
And I select "Activity completion" from the "Report type" singleselect
|
||||
And I click on "Activity completion" "link"
|
||||
And "Ann, Jill, Grainne, Beauchamp, my assignment: Not completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row"
|
||||
And "Ann, Jill, Grainne, Beauchamp, my assignment 3: Not completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row"
|
||||
And I click on "my assignment" "link" in the "Ann, Jill, Grainne, Beauchamp" "table_row"
|
||||
|
|
|
@ -37,7 +37,7 @@ Feature: Teacher can view and filter activity completion data by group and activ
|
|||
When I log in as "teacher1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "Reports" in current page administration
|
||||
And I select "Activity completion" from the "Report type" singleselect
|
||||
And I click on "Activity completion" "link"
|
||||
Then "My quiz B" "link" should appear before "My quiz A" "link" in the "completion-progress" "table"
|
||||
And I should see "My assignment" in the "completion-progress" "table"
|
||||
And I should see "My page" in the "completion-progress" "table"
|
||||
|
|
|
@ -27,7 +27,7 @@ Feature: In a course administration page, navigate through report page, test for
|
|||
Given I log in as "admin"
|
||||
And I am on "Course 1" course homepage
|
||||
When I navigate to "Reports" in current page administration
|
||||
And I select "Activity completion" from the "Report type" singleselect
|
||||
And I click on "Activity completion" "link"
|
||||
Then "Report" "field" should exist
|
||||
And the "Report" select box should contain "Activity completion"
|
||||
And the field "Report" matches value "Activity completion"
|
||||
|
@ -46,6 +46,6 @@ Feature: In a course administration page, navigate through report page, test for
|
|||
| showuseridentity | email,profile_field_frog |
|
||||
When I am on the "C1" "Course" page logged in as "admin"
|
||||
And I navigate to "Reports" in current page administration
|
||||
And I select "Activity completion" from the "Report type" singleselect
|
||||
And I click on "Activity completion" "link"
|
||||
Then I should see "Favourite frog"
|
||||
Then I should see "Kermit" in the "Student Two" "table_row"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue