Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test-cases/gutenberg/media-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

--------------------------------------------------------------------------------

Expand Down
30 changes: 21 additions & 9 deletions test-cases/gutenberg/video.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<img src="../../test-cases/resources/../resources/video-upload-progress.jpg" width="260">
Comment on lines +22 to +23
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is incorrect.

This describes WordPress/gutenberg#59247, but that only applies to Media & Text and should not occur (i.e., a known regression). Do you experience WordPress/gutenberg#59247 for Video blocks as well? I do not on iOS.


![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:
<br><img src="../../test-cases/resources/../resources/video-retry.jpg" width="260">

- Tap on the block's placeholder
- You should be asked to retry
<img src="../resources/retry-upload.png" width=250 />

- Tap retry
- The upload should continue

--------------------------------------------------------------------------------

Expand All @@ -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)
<img src="../resources/video-upload-progress.jpg" width=250 />

--------------------------------------------------------------------------------

Expand All @@ -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)



<img src="../resources/video-upload-progress.jpg" width=250 />
Binary file added test-cases/resources/video-retry.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test-cases/resources/video-upload-progress.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.