As a admin
I need to be able to modify events
So that I can correct upcoming events
Details and Assumptions
The admin needs to be able to remove old events that have passed. They also need to be able to modify events in the case that there are changes
Acceptance Criteria
Scenario: Successful event modification
Given I am a logged-in admin
And I click the "edit event" button
And I am redirected to the Edit Event page
When I change the flyer, name, date, or contact information
And I click the "save changes" button
Then I will be redirected to the event's page
And I will see a message saying the changes have been saved
Scenario: Unsuccessful event modification due to unsupported file format
Given I am a logged-in admin
And I click the "edit event" button
And I am redirected to the Edit Event page
When I change the flyer to an unsupported format
And I click the "save changes" button
Then the page will be reloaded
And I will see a message saying that the changes have failed to save due to the wrong flyer format
As a admin I need to be able to modify events So that I can correct upcoming events
Details and Assumptions
Acceptance Criteria