Skip to content

Commit

Permalink
MDL-44613 mod_assign: Fix behat failure in classic
Browse files Browse the repository at this point in the history
The link to the calendar page is missing in the navigation block in
classic which causes a behat failure in the 'Set availibility dates
for an assignment' feature. The fix includes adding the calendar block
to the Course page which can be used to navigate to the calendar page.
  • Loading branch information
Mihail Geshoski committed Mar 16, 2021
1 parent 695f753 commit fcbd160
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mod/assign/tests/behat/set_availability.feature
Expand Up @@ -57,10 +57,12 @@ Feature: Set availability dates for an assignment
# Set 'Due date' to the second day of this month at noon.
And I set the field "Due date" to "##first day of this month noon +24 hours##"
And I press "Save and return to course"
And I turn editing mode on
And I add the "Calendar" block
And I log out
And I log in as "student1"
And I am on "Course 1" course homepage
And I follow "Calendar"
And I follow "This month"
When I hover over day "2" of this month in the calendar
Then I should see "C1: Assignment name is due"

Expand Down

0 comments on commit fcbd160

Please sign in to comment.