Regression Test - maar35/film-festival-planner GitHub Wiki
Regression test of the Planner
Technical note
Tests are being transferred from the smoke test page got this page, so that in the end we have a few good smoke tests and a covering set of regression tests.
New tests should be included on this page initially.
Test procedure
As in the smoke test, randomly use menu items, buttons and keyboard shortcuts to activate the required actions.
Alerts tests
- Pick at least 5 combinations of screening warnings and ticket problems
- For each combination
- Check the labels or tool tips of the toolbar items Screening Warnings and Ticket Problems as to indicate the correct numbers of alert situations
- Start the Warnings dialog and check if the summary on top indicates the correct numbers of alert situations
- Inspect the screening list in the Warnings dialog
- In the Warnings dialog, click a screening
- The screening should become visible and it's Screening Info dialog should appear
- Within the Screening Info dialog, repair an alert situation
- Check that these elements are instantaneously updated
- Select a screening with an alert situation and trigger the Warnings dialog
- The selected screening should be visible in the scrollview
- Resolve a ticket problem of a screening in the current daily schema using the
Tickets
checkboxes - Check that these elements are instantaneously updated
- Resolve a ticket problem of a screening that is not visible in the current daily schema using the
Tickets
checkboxes - Check that these elements are instantaneously updated
- Go to the fixed screening by clicking it, and verify if it is fixed in it's daily schema
- Resolve all alert situations
- The Screening Warnings and Ticket Problems toolbar items should be disabled and correctly display the situation in labels and tool tips.
- In the
Screenings
menu, theShow Screening Warnings
menu item should be disabled.
UI elements that should update instantaneously
- Screenings within the Screening Info dialog
- The labels of the toolbar items
- Screenings in the day view
Planning
- Open the Availability dialog
- Make sure some days are unavailable for the film fan we are planning for.
- Open the Planner dialog
- Create a planning if not existing
- Check if the availability is respected
- Open the Not Planned Films Analyzer
- Outline a Film
- Outline all screenings to that film - only ones with attendance status
attended
andneed tickets
should be displayed - Outline films to see if a screening could not be planned because
Me
is not available (see screening label colors) - Go to one of the displayed screenings
- From the Screening Info dialog, go to another screening
- Close the Screening Info dialog