Skip to content

Commit

Permalink
behat fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aczerzuh committed Mar 2, 2023
1 parent 7f2d170 commit 4b5b140
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/behat/set_availability.feature
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ Feature: View questionnaire availability information in the course view
And I am on the "Test questionnaire" "questionnaire activity" page
And I navigate to "Settings" in current page administration
And I follow "Expand all"
And I set the field "Allow responses from" to "##yesterday noon##"
And I set the field "Allow responses from" to "##3 days ago##"
And I set the field "Allow responses until" to "##tomorrow noon##"
And I press "Save and return to course"
And I log out

When I log in as "student1"
And I am on "Course 1" course homepage
Then I should see "Opened: ##yesterday noon##%A, %d %B %Y, %I:%M##"
And I should see "Closes: ##tomorrow noon##%A, %d %B %Y, %I:%M##"
Then I should see "Opened: "
And I should see "Closes: "

0 comments on commit 4b5b140

Please sign in to comment.