MDL-68210 mod_lesson: fix random failure in override behat test

This commit is contained in:
Jake Dallimore
2020-07-08 09:08:27 +08:00
parent c467de9ac6
commit c032adf341
@@ -210,6 +210,7 @@ Feature: Lesson user override
And I log in as "student2"
And I am on "Course 1" course homepage
And I follow "Test lesson"
And I wait until the page is ready
Then I should see "This lesson closed on Saturday, 1 January 2000, 8:00"
And I should not see "Cat is an amphibian"
And I log out
@@ -248,6 +249,7 @@ Feature: Lesson user override
And I log in as "student2"
And I am on "Course 1" course homepage
And I follow "Test lesson"
And I wait until the page is ready
Then I should see "This lesson will be open on Tuesday, 1 January 2030, 8:00"
And I should not see "Cat is an amphibian"
And I log out