Story #32 Add a UI to auto fill the current event creation form based on a selected preset event - cseseniordesign/reservations GitHub Wiki
End User Documentation
Dev Testing Instructions
Make sure you are on the most recent version of the dev-autofill-event-creation branch.
Start your dev environment and log in with development2 so you have all permissions.
Navigate to the Admin -> Events page
Click the button in the toolbox to navigate to the event presets page.
On the Manage Preset Events page make sure there is a button to create a new event and a dropdown to select a current preset.
Choose a preset from the dropdown.
Click the button 'New Event from Preset'
You should now be redirected to the events page, where the fields are populated with values pertaining to the selected preset event or not filled in the case of no selected preset event.
Change the start date and time of the event.
The end date should be the same as the start date.
The end time should be set to the start time plus the duration of the selected preset event unless no preset event was selected then the end time will be the same as the start time.
Create the new event.
Ensure there are no errors in the console throughout your testing and that the page is responsive on all screen sizes.