Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QA] 1.0.5 Testplan #533

Open
jnweiger opened this issue Oct 7, 2021 · 0 comments
Open

[QA] 1.0.5 Testplan #533

jnweiger opened this issue Oct 7, 2021 · 0 comments

Comments

@jnweiger
Copy link
Contributor

jnweiger commented Oct 7, 2021

Setup

hetzner_deploy/oc_app.sh files_mediaviewer
hetzner_deploy/oc_app.sh files_gallery
docker run --rm -ti -v /home/testy/mnt_oc:/mnt/data -p 883:8080 owncloud/server:latest
docker exec -ti $(docker ps -q | head -1) occ app:disable gallery

'Files Mediaviewer' Test Plan

Testing functionality

Test Case Expected Result Result Related Comment
CLI commands
Enable files_mediaviewer app via CLI using occ app:enable files_mediaviewer The apps gets enabled ✔️
Disable files_mediaviewer app via CLI using occ app:disable files_mediaviewer The apps gets disabled ✔️
Web UI
Enable files_mediaviewer app via webUI The apps gets enabled ✔️
Disable files_mediaviewer app via webUI The apps gets disabled ✔️
Files View
Open an image file The viewer should appear and the image is shown. The correct name of the files appears at the bottom of the viewer. ✔️
Open a video file The viewer should appear and the video is shown(unpaused). The correct name of the files appears at the bottom of the viewer. ✔️
Upload an image file and open the file in a media viewer The file should appear in the viewer and all the controls should work as expected ✔️
Upload a video file and open the file in a media viewer The file should appear in the viewer and all the controls should work as expected ✔️
MediaViewer Controls
Open an image file and click Rotate button The image gets rotated ✔️
Open an image file and click Zoom In button The image gets zoomed in ✔️
Open an image file and click Zoom out button The image gets zoomed out ✔️
Open a media file and click Download button (:arrow_down:) The media files gets downloaded ✔️
Open an image file and click "X" button The viewer disappears ✔️
Open an image file and click anywhere outside the viewer The viewer disappears ✔️
Open an image file (in folder having multiple other media files) and click ">"(next) button The next image should appear ✔️ The next media file will be opened. No matter if picture or video.
Open an image file (with no other media files) and click ">"(next) button Nothing should happen. The viewer still has old image. ✔️
Open an image file (in folder having multiple other media files) and click "<"(prev) button The next image should appear ✔️ The previous media file will be opened. No matter if picture or video.
Open an image file (with no other media files) and click "<"(prev) button Nothing should happen. The viewer still has the old image. ✔️
Open the last media file in the folder and click ">"(next) button Nothing should happen. The viewer still has the old image. ✔️:
Open the first media file in the folder and click "<"(prev) button Nothing should happen. The viewer still has the old image. ✔️
Open an image and zoom in/zoom out/rotate and open next image Next image should not be zoomed in/zoomed out/rotated ✔️
Open an image/video and press ⬅️/➡️ key Previous/Next media files should appear ✔️
Open an image/video and swipe left/right Previous/Next media files should appear ✔️
Open a video file and click play button inside the viewer. The video starts playing ✔️
Play a video file, mute sound (:sound:) button and unmute again. The video plays with sound muted and when unmuted, plays with sound. ✔️
Play a video file, and click/press anywhere outside the viewer/control The video stops playing. ✔️ mediaviewer will disappear
Play a video file, and click ⛶ (fullscreen) button. The video plays in the fullscreen mode. ✔️
Play a video file, and click "Replay" button. The video replays. ✔️
Play a video file, and click "X" button The video stops playing and the viewer disappears. ✔️
Open a video file and click anywhere outside the viewer The viewer disappears ✔️
Play a video file, and click next/previous button The video stops playing and the next/previous file should appear. ✔️
Play a video file, and click anywhere on the scrubber/seek bar The video skips and plays from the clicked position. ✔️
Play a video file, and press next/previous button and re-return to the same video and play the video(without ever closing media_viewer) The video stops playing. When returned to same video, the video plays from the same position previously stopped. ✔️
Open a unsupported video file The media viewer shows a helpful message No message will shown. Mediaviewer doesn't open. File download will start immediately
Open a details tab with preview, and then open the image file from files list view in the mediaviewer The media viewer should appear correctly as previous ✔️
Open a video file and delete the video file in another tab, and try to play the video in first tab A helpful message should be shown File can't deleted. File is locked.
Sort on different order on files page and open any media file in the viewer and keep on swiping The order of the media files should be same as the listing on the files page ✔️
DetailsDialog View
Open details dialog for a image file, click on the preview/icon of the file and repeat above tests. ✔️
Favorites Page
Favorite media files and open Favorites, and repeat above tests. ✔️
Shared with Others Page
Share files with other media files and open shared with others page, and repeat above tests. ✔️
Shared with You Page
Share files from other users' account and open shared with you page, and repeat above tests. ✔️
Tags Page
Set tags on media files and open tags page, and repeat above tests. ✔️
Public Link Page
Share files by public link and open Share by link page, and repeat above tests. ✔️
Files Drop
Share a video via files_drop Check that video plays correctly and buttons work ✔️
Share a folder via files_drop Check that the viewer shows all files inside folders and buttons work correctly ✔️
Browser compatibilitiy
Mozilla Firefox ✔️
Google Chrome ✔️
Safari ✔️
MS IE11 ✔️
MS Edge ✔️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant