Skip to content

Instantly share code, notes, and snippets.

@JujuAdams
Created April 11, 2024 19:36
Show Gist options
  • Save JujuAdams/2d2ffec26caddeea96f552a3af33ccce to your computer and use it in GitHub Desktop.
Save JujuAdams/2d2ffec26caddeea96f552a3af33ccce to your computer and use it in GitHub Desktop.
Beta IDE v2024.400.0.532 Beta Runtime v2024.400.0.551
I. Android, iOS
1. Open either A or B
2. Wait for playback to begin
3. Observe that the "video_start" event occurs
4. Click "Close"
5. Wait for playback to finish
6. Observe that the "video_end" event does not occur
Expected: "video_end" event occurs when playback finishes in any situation, including via video_close()
II. Android
1. Open either A or B
2. Wait for playback to begin
3. Without waiting for playback to finish, open the other video
4. Observe that video playback proceeds for the other video
Expected: Consistency with other platforms such that
- Playback of the new video is prevented
- "Please close video player before attempting to play a new one" appears in the debug log
III. Android
1. Open either A or B
2. Wait for playback to begin
3. Without waiting for playback to finish, open the same video
4. Observe that the video is replayed
Expected: Consistency with other platforms such that
- Playback of the new video is prevented
- "Please close video player before attempting to play a new one" appears in the debug log
IV. iOS
Reproduction rate: 20%, tested on an iPhone XR
1. Open A
2. Click "Close"
3. Wait for a maximum of 2 seconds
4. Open B
5. Observe that the "video_start" event doesn't occur and no video playback is started
Expected: Video playback should proceed even if video_open() is called soon after closing the previous video
V. iOS
1. Open either A or B
2. Wait for playback to begin
3. Click either "Open A" or "Open B" again
4. Observe that playback stops
5. Observe that "Please close video player before attempting to play a new one" doesn't appear in the debug log
6. Click either "Open A" or "Open B" again
7. Observe that the app crashes without error message
Expected:
- Calling video_play() twice in a row does not stop playback
- Calling video_play() twice in a row reports the same error message as on other platforms
- Calling video_play() three times in a row does not crash the app
VI. iOS
Reproduction rate: 60%, tested on an iPhone XR
1. Open either A or B
2. Click "Close"
3. Wait for a maximum of 2 seconds
4. Open either A or B
5. Observe that video playback flickers
6. Repeat opening and closing videos until the issue is observed
Expected: Video playback should not flicker if even another video was recently closed
VII. iOS
Reproduction rate: Once, tested on an iPhone XR
1. Open B
2. Click "Pause"
4. Observe that a flicker occurs when playback is paused
Expected: Pausing does not cause video playback to flicker
VIII. iOS
Reproduction rate: Twice, tested on an iPhone XR
1. Open A
2. Observe that it takes multiple seconds to open the video
3. Wait for playback to end
4. Observe that looping isn't smooth and there is a substantial delay between loops
Expected: Looping on iOS is smooth in all cases
IX. Windows, iOS
1. Open either A or B
2. Click "Pause" twice
3. Click "Resume"
5. Observe that the video doesn't resume
Expected: Videos can be resumed despite multiple video_pause() being executed in a row
X. Windows
1. Open either A or B
2. Click "Pause" twice
4. Click "Close"
5. Observe that the video doesn't close
Expected: Videos can be closed despite multiple video_pause() being executed in a row
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment