Smoke Test - maar35/film-festival-planner GitHub Wiki
Smoke test
At the time of this writing, this looks more like a regression test than a smoke test. The plan is to start transferring items from this page to the Regression Test page.
Procedure
Check if the following actions work as expected. Use controls, keyboard equivalents and menu items randomly.
Day Schemes
General
- Navigate to another day
- Open a Screening Info dialog
- Go to another screening of the same film
- Display the Film Info
- Close the popover and the dialog
Movable Screenings
- Recognize an on-demand screening by its availability bar in the click pad
- Move the on-demand screening one day
- Move an on-demand screening within the day
- Try to move an on-demand screening beyond its availability window
- Try to move an on-line screening (which is not on-demand)
Film Rating Dialog
General
- Open the Film Ratings dialog
- Sort by a rating (or by anything else than Name)
- Select one or more films, among which at least one film with screenings
- Switch on Hide Screeningless Films - Films with no screenings should disappear
- Selected films with screenings should remain selected
- Sorting order should not be effected
- Sort by Film title
- Select a film by starting to type its title
- Click on the
Film
menu. At the bottom one ofCombination Program(s)
,Screened Films
orNo combinations involved
must be present - If not exactly one film is selected or if the Film Rating Dialog is not visible, the extra menu item(s) in
Film
should not be present
Ratings
Rating management is now moved to the Django app.
- Open the Film Ratings dialog
- In the Django app add, change or delete one or more ratings
- In the Film Ratings dialog sort ratings of the user of whom ratings were changed
- Select one or more films, among which preferably a film with changed ratings
- Reload the ratings.
- Selected films with screenings should remain selected
- Sorting order should not be effected
Combine Titles
- Select multiple films that have screenings and combine the titles
- Get film info from the resulting title
- Go to a screening of the combined title, which is not the standard title - the rating should be the same for all combined films
- Open the Film Ratings dialog again
- Uncombine the combined titles - film ratings should be the same as before combining
Visit Film Web Site
- Select multiple films
- The Visit Film Web Site button should be disabled
- Select one film
- The Visit Film Website button should be active
- The Visit Film Website button should have a tool tip that mentions the selected film
- Open a website from either the Rating Dialog, a Day Scheme, the Film Info dialog, the Screening Info dialog or the Analyzer dialog
Saving
Unsaved work is saved when closing a dialog or quitting the app.
- Check that availability is automatically saved when committing the Availability dialog
- Check that screening info is saved when attendances or tickets status is changed in the Screening Info dialog
- Check that screening info is saved when combining or uncombining films in the Film Ratings dialog
- Change screening info from the Main view (Day Scheme)
- Open the Screening Info dialog or the Film Ratings dialog and change more screening info
- Check that the Document Edited indicator in the Main view is switched off when the dialog saves the screening info
- Check if explicitly saving from the
File
menu works as expected.