Feature : Deadline Error Handling
As a professor
So that I do not accidentally set an invalid deadline
I want to receive an error message when selecting a past date for the deadline
Scenario : Professor attempts to set an invalid deadline
Given I am editing a form
When I attempt to set a past date and time in the deadline picker
And I click " Save "
Then I should receive an error message indicating that the deadline cannot be set in the
past
And the form should not save the invalid deadline
Implementations covered under this ticket :
Feature : Deadline Error Handling As a professor So that I do not accidentally set an invalid deadline I want to receive an error message when selecting a past date for the deadline
Scenario : Professor attempts to set an invalid deadline Given I am editing a form When I attempt to set a past date and time in the deadline picker And I click " Save " Then I should receive an error message indicating that the deadline cannot be set in the past And the form should not save the invalid deadline