Skip to content

Commit d23870b

Browse files
committed
Merge branch 'MDL-84602-fix' of https://github.com/sarjona/moodle
2 parents 80ddc79 + ffa16a1 commit d23870b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: mod/assign/tests/behat/overview_report.feature

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Feature: Testing overview integration in mod_assign
4444
| gradeitem | user | grade |
4545
| Pending grades | student1 | 50 |
4646

47+
@javascript
4748
Scenario: The assign overview report should generate log events
4849
Given I am on the "Course 1" "course > activities > assign" page logged in as "teacher1"
4950
When I am on the "Course 1" "course" page logged in as "teacher1"
@@ -53,6 +54,7 @@ Feature: Testing overview integration in mod_assign
5354
Then I should see "Course activities overview page viewed"
5455
And I should see "viewed the instance list for the module 'assign'"
5556

57+
@javascript
5658
Scenario: Teachers can see relevant columns in the assign overview
5759
When I am on the "Course 1" "course > activities > assign" page logged in as "teacher1"
5860
# Check columns.
@@ -83,6 +85,7 @@ Feature: Testing overview integration in mod_assign
8385
And I should see "Submitted for grading" in the "Username 1" "table_row"
8486
And I should see "No submission" in the "Username 2" "table_row"
8587

88+
@javascript
8689
Scenario: The assign overview actions has information about the number of pending elements to grade
8790
When I am on the "Course 1" "course > activities > assign" page logged in as "teacher1"
8891
# Check main actions.
@@ -117,6 +120,7 @@ Feature: Testing overview integration in mod_assign
117120
And "[data-mdl-overview-alertcount='1']" "css_element" should exist in the "Pending grades" "table_row"
118121
And "[data-mdl-overview-alertlabel='Needs grading']" "css_element" should exist in the "Pending grades" "table_row"
119122

123+
@javascript
120124
Scenario: Students can see relevant columns in the assign overview
121125
When I am on the "Course 1" "course > activities > assign" page logged in as "student1"
122126
# Check columns.

0 commit comments

Comments
 (0)