diff --git a/test-cases/gutenberg/media-text.md b/test-cases/gutenberg/media-text.md index 779858f..ad7a5fd 100644 --- a/test-cases/gutenberg/media-text.md +++ b/test-cases/gutenberg/media-text.md @@ -5,7 +5,7 @@ #### **Precondition** -A site with premium or business plan +Free or Personal plans are limited to videos that are less than five minutes in length. Currently, there is no size limitation other than the available storage on the user's site. -------------------------------------------------------------------------------- diff --git a/test-cases/gutenberg/video.md b/test-cases/gutenberg/video.md index dcc4999..bd46505 100644 --- a/test-cases/gutenberg/video.md +++ b/test-cases/gutenberg/video.md @@ -5,17 +5,32 @@ #### **Precondition** -A site with premium or business plan +Free or Personal plans are limited to videos that are less than five minutes in length. Currently, there is no size limitation other than the available storage on the user's site. -------------------------------------------------------------------------------- ##### TC001 -**Insert video from device (failing)** +**Insert video from device (paused or failing)** -Steps are same with [image block TC001](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/image.md#tc001) except for the difference in UI: +- Add a Video block +- Tap option ‘Choose from device’ and choose a Video ([precondition applies](#precondition)) +- Disable the internet connection, for example: + - By turning on Airplane mode + - Throttling the connection with a proxy or third-party app +- You should see the "Working offline" notice +- Expect the block's placeholder to show the paused progress bar + -![Upload failed](../resources/video-upload-failed.png) +In the event of an upload failure, which can be easily triggered when using a proxy or throttling the connection so it fails to return any data, you should see the following placeholder: +
+ +- Tap on the block's placeholder +- You should be asked to retry + + +- Tap retry +- The upload should continue -------------------------------------------------------------------------------- @@ -41,7 +56,7 @@ Same with [image block TC003](https://github.com/wordpress-mobile/test-cases/blo Steps are same with [image block TC004](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/image.md#tc004) except for the difference in UI: -![Upload progress](../resources/upload-progress-video.png) + -------------------------------------------------------------------------------- @@ -51,7 +66,4 @@ Steps are same with [image block TC004](https://github.com/wordpress-mobile/test Steps are same with [image block TC005](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/image.md#tc005) except for the difference in UI: -![Upload progress](../resources/upload-progress-video.png) - - - + \ No newline at end of file diff --git a/test-cases/resources/video-retry.jpg b/test-cases/resources/video-retry.jpg new file mode 100644 index 0000000..7754810 Binary files /dev/null and b/test-cases/resources/video-retry.jpg differ diff --git a/test-cases/resources/video-upload-progress.jpg b/test-cases/resources/video-upload-progress.jpg new file mode 100644 index 0000000..4d289d2 Binary files /dev/null and b/test-cases/resources/video-upload-progress.jpg differ