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

  1. Pick at least 5 combinations of screening warnings and ticket problems
  2. For each combination
    1. Check the labels or tool tips of the toolbar items Screening Warnings and Ticket Problems as to indicate the correct numbers of alert situations
    2. Start the Warnings dialog and check if the summary on top indicates the correct numbers of alert situations
    3. Inspect the screening list in the Warnings dialog
  3. In the Warnings dialog, click a screening
  4. The screening should become visible and it's Screening Info dialog should appear
  5. Within the Screening Info dialog, repair an alert situation
  6. Check that these elements are instantaneously updated
  7. Select a screening with an alert situation and trigger the Warnings dialog
  8. The selected screening should be visible in the scrollview
  9. Resolve a ticket problem of a screening in the current daily schema using the Tickets checkboxes
  10. Check that these elements are instantaneously updated
  11. Resolve a ticket problem of a screening that is not visible in the current daily schema using the Tickets checkboxes
  12. Check that these elements are instantaneously updated
  13. Go to the fixed screening by clicking it, and verify if it is fixed in it's daily schema
  14. Resolve all alert situations
  15. The Screening Warnings and Ticket Problems toolbar items should be disabled and correctly display the situation in labels and tool tips.
  16. In the Screenings menu, the Show Screening Warnings menu item should be disabled.

UI elements that should update instantaneously

  1. Screenings within the Screening Info dialog
  2. The labels of the toolbar items
  3. Screenings in the day view

Planning

  1. Open the Availability dialog
  2. Make sure some days are unavailable for the film fan we are planning for.
  3. Open the Planner dialog
  4. Create a planning if not existing
  5. Check if the availability is respected
  6. Open the Not Planned Films Analyzer
  7. Outline a Film
  8. Outline all screenings to that film - only ones with attendance status attended and need tickets should be displayed
  9. Outline films to see if a screening could not be planned because Me is not available (see screening label colors)
  10. Go to one of the displayed screenings
  11. From the Screening Info dialog, go to another screening
  12. Close the Screening Info dialog