-
Notifications
You must be signed in to change notification settings - Fork 14
Testing
Christopher Hunt edited this page Dec 11, 2016
·
4 revisions
Manual tests to be carried out as-needed, organized by user action and extension action
Record some replays with other players in it on various maps with powerups, starting in the middle of the game, starting at the beginning of the game
- 10 of them across 3 games
Record replay after changing duration from default Record replay after changing record key. Record replay after changing FPS.
Import some replays
- should be able to successfully import 40 replays
- should be able to successfully import 200 replays
- should import a single replay known to be invalid (#validation) -- result: a dialog box appears stating the replay is invalid along with more information
- import several replays where one or two are known to be invalid (#validation) -- result: when the invalid replays are encountered rendering should pause until the user dismisses the dialog and then should continue
Export some replays
- export 1 - validate the text content
- export 5 - validate the zip
Rendering
- Render a short replay and make sure it looks ok
- Make sure the menu reflects the rendering status in real time
- When the rendering is finished it should end with a check
- Render multiple short replays and ensure they do the above in sequence.
- Render a long replay and ensure that no error occurs
Movie download
- The downloaded movie should be playable and the same one that was clicked on in the menu
Replay deletion
- Replay should be deleted, removed from menu, and not come back on refresh.
- Metadata should be removed from the background page local storage
- No error should be present on the background page
Replay sorting
- make sure sorting works with replays on the relevant facets
Replay renaming
- rename replay from the main menu, the relevant line should be replaced with the new name
Setting textures
- Try to set combinations of textures in the settings texture picker
- After setting a custom texture, ensure it shows up in the previewer when the 'use custom textures' box is checked.
- Make sure custom textures show up in rendering.
Setting settings
- After setting some settings they should persist on page refresh.
- record key, FPS, duration
- Settings should persist across tagpro server websites.
Replay list interface
- shift-click selection
Replay menu
- The menu with no replays should have a 'no replays' message displayed
- Importing a replay into an empty menu should remove the message and display the imported replay
- Deleting all replays should display the 'no replays' message
Rendering with textures Viewing with different textures
Actual replay recreation:
- player spawns should show up
- players that switch teams should be the correct color
Replay previewing
- It should be possible to preview a replay
- Replay preview should be a consistent and realistic speed
- preview an imported replay
- preview a saved replay
- Using different options
- show spin
- show splats
- show clock and score
- with custom textures
Replay preview interface
- Deletion of a replay should work the same as deletion of the single replay.
- Previewer interface should allow:
- Clicking the middle of the progress bar when paused should move the playback to that location
- Clicking the middle of the progress bar when playing should continue playing starting at that location
- Clicking the screen should start/stop playback
- Once the end of playback has been reached a restart button should appear
- Pause/play
- Playing cropped replay with neither start nor end selected explicitly
- Cropping replay
- Dismissing crop bars should cause the cropped replay to use the start/end of the replay
- Cropping and replacing replay
- with new name
- with same name
- Setting begin crop before and and end crop before begin should remove the conflicting crop in favor of the new one.
- Renaming replay
- left/right arrow keys should advance a paused replay but do nothing to a playing one
- previewer should resize with window (up to the maximum width/height)
- clicking outside the previewer should close it
- opening another replay in the previewer should look as expected (no crop bars visible, starting at the beginning of the replay)
Recording:
- Using record key
- Using record button
- Recorded replay should have duration set in settings
- Recording should not happen if extension is disabled
- Recorded replay should trim off beginning from pre-game
Pressing and holding the recording hotkey should only record on initial keypress