diff --git a/Mobile/Android/Executions/Release_4.3/Documents provider.md b/Mobile/Android/Executions/Release_4.3/Documents provider.md new file mode 100644 index 00000000..0898a62b --- /dev/null +++ b/Mobile/Android/Executions/Release_4.3/Documents provider.md @@ -0,0 +1,122 @@ +### Documents provider (SAF) + +**Server(s)**: oC 10.13.4
+**Device(s)**: Samsung Galaxy Tab A8, Android 13. Pixel2, Android 11
+**Execution date**: 15/02/2024
+**Tester**: jrecio
+**Context**: Sanity check over the feature and gather all existing problems in an epic
+ +--- + +Recommended app to test: [Files](https://play.google.com/store/apps/details?id=com.marc.files) + +| Test Case | Steps | Expected Result | Result | Related Comment +| :-------- | :---- | :-------------- | :-----: | :------ +|**Add/List account**||||| +| Add one account | 1. Add one account to oC
2. Open Doc. provider app | Account available in SAF | P t13 | +| Add two accounts | 1. Add two accounts from different servers to oC
2. Open Doc. provider app | Both accounts available in SAF| P t13 | +| Same server | Add two accounts of the same server to oC
Open Doc. provider app | Both accounts available in SAF | P t13 | +| Personal and Custom spaces | 1. Add oCIS account with some custom spaces
2. Open any app with access to Document Provider | Account is listed in SAF
All spaces listed in root level | P t13 | | +| Add new space | 1. Add oCIS account with some custom spaces
2. Open any app with access to Document Provider
3. In web, add a new space
4. In document provider app, pull to refresh | New space is listed in SAF| P t13 | | +| Remove existing space | 1. Add oCIS account with some custom spaces
2. Open any app with access to Document Provider
3. In web, remove an existing space
4. In document provider app, pull to refresh | Space removed is no longer listed in SAF| P t13 | | +| Two accounts with spaces | 1. Add two oCIS account with some custom spaces
2. Open any app with access to Document Provider
3. Switch to one account to other in the Document Provider app | Both apps showing their correct list of spaces in SAF| P t13 | | +| Space disabled | 1. Add oCIS accounts
2. In web, disable existing space
3. Open any app with access to Document Provider | Disabled space is not listed in SAF| P t13 | | +|**Remove account**| Accounts added before|||| +| Remove one account | Remove one account from oC
Open Doc. provider app | Account not available anymore in SAF | P t13 | +| Remove two account | Remove two accounts from oC
Open Doc. provider app | Both accounts not available anymore in SAF | P t13 | +| Remove all accounts | Remove all accounts from oC
Open Doc. provider app | No accounts available in SAF| P t13 | +| Uninstall the app | Uninstall the oC app from the device | All accounts no longer available in SAF| P t13| +|**Browse**||||| +| Browse oC10 | Browse through folder structure in different accounts | Correct browsing, all items displayed in SAF | P t13 | +| Browse Personal oCIS | 1. Add oCIS account
2. Open any app with access to Document Provider to open the personal space
3. Browse through space in document provider app| 2. Root folder listed in SAF
3. All folders' content is listed | P t13 | | +| Browse No Personal oCIS | 1. Add oCIS account with custom spaces
2. Open any app with access to Document Provider to open the custom spaces
3. Browse through spaces in document provider app| All folders' content is listed in custom spaces in SAF| P t13 | | +| Setting disabled | 1. Add some accounts
2. In app Settings, go to `Security` and click option `Lock access from document provider`
3. Open any app with access to Document Provider | Access to oC locked in all accounts in SAF| P t13 | | +|**Create folder**||| +| Create folder root | Create a folder in root folder in SAF | Correctly created, check in the app or web UI | P t13 | +| Create folder non-root | Create a folder in non-root folder in SAF | Correctly created, check in the app or web UI |P t13 | +| Create folder existing | Create a folder with existing name in SAF | Error: `Failed to create folder` |P t13 | +| Folder with special characters | Create folder with special characters like &%ä^ in SAF | Correctly created, check in the app or web UI |P t13 | +| Folder with forbidden characters | Create folder with for6bidden characters like \ or / in SAF| Error: `Failed to create folder`| P t13 | +| Folder with longer name as allowed | Create folder with a longer than 256 characters name in SAF| Error: `Failed to create folder` | P t13 | +| No internet connection | Create folder with no internet connection in SAF| Error: `Failed to create folder` | P t13 | +| No server connection | Create folder with no server connection in SAF| Error: `Failed to create folder` | P t13 | +| Maintenance mode (oC10) | Create folder with server in maintenance mode in SAF| Error: `Failed to create folder` | P t13 | +|**Rename**||| +| Rename file root | Rename a file in root folder in SAF | Correctly renamed, check in the app or web UI | P t13 | +| Rename file non-root | Rename a file in non-root folder in SAF | Correctly renamed, check in the app or web UI | P t13| +| Rename folder root | Rename a folder in root folder in SAF | Correctly renamed, check in the app or web UI | P t13 | +| Rename folder non-root | Rename a folder in non-root folder in SAF | Correctly renamed, check in the app or web UI | P t13| +| Select several to rename | Select several items in SAF| Rename is disabled |P t13 | +| Rename to empty name | Set blank the item name while renaming in SAF | Error: `You need to rename this` | P t13 | +| Cancel rename | Open rename option
Cancel without renaming in SAF | File is not renamed | P t13 | +| Rename item with an existing name | Rename any item to another existing name in SAF | Error: `A file with this name already exist`| P t13 | +| Rename item with special characters | Rename any item using special characters like &%ä^ in SAF | Correctly renamed, check in the app or web UI | P t13 | +| Rename item with forbidden characters |Rename any item using forbidden characters like \ or / in SAF| Error: `Failed to rename document` | P t13 | +| Rename item with longer name as allowed | Rename any item with a longer than 256 characters name in SAF| Error: `Failed to rename document` | P t13 | +| Rename removed item | Rename any item that has just removed from web UI in SAF| Error: `Failed to rename document` | P t13 | +| Rename item with no internet connection | Rename any item with no internet connection in SAF| Error: `Failed to rename document` | P t13 | +| Rename item with no server connection | Rename any item with no server connection in SAF|Error: `Failed to rename document` | P t13 | +| Rename item with server in maintenance mode | Rename any item with server in maintenance mode in SAF| Error: `Failed to rename document` | P t13 | +|**Copy**||| +| Copy file same oC10 account | 1. Add oC10 account
2. Open any app with access to Document Provider
3. Copy a file to another location in the same oC10 account| File copied. Check in web | P t13 | | +| Copy many files same oC10 account | 1. Add oC10 account
2. Open any app with access to Document Provider
3. Copy 500 files to another location in the same oC10 account| Files copied. Check in web | P t13 | | +| Copy file to same space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy file to another location in the same space | File copied. Check in web | P t13 | | +| Copy folder to same space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy folder with subfolders to another location in the same space | File copied. Check in web | F t13 | Fails with many files and subfolders | +| Copy many items to same space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy more than 500 files and folders to another location in the same space | All items copied. Check in web | F t13 | Fails with many files and subfolders | +| Copy file to another space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy file to another space in same provider | File copied. Check in web | P t13 | | +| Copy folder to another space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy folder with subfolders to another space in same provider | Folder copied. Check in web | P t13 | | +| Copy many items to another space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy more than 500 files and folders to another space in same provider | All items copied. Check in web | F t13| Fails with many items | +| Copy file other oC10 account | 1. Add oC10 account
2. Open any app with access to Document Provider
3. Copy any file to other oC10 and oCIS accounts | File copied. Check in web | | +| Copy file to another oCIS account | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy file to another account (two different spaces) and oC10 account | File copied. Check in web | F t13 | Sometimes fails, unestable. The higher the size to move, the more likely it fails. In oC10 fails when copying to non-root folder | +| Copy folder to another oC account | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy folder with subfolders to another account (two different spaces) and oC10 account | Folder copied. Check in web | | Sometimes fails, unestable. The higher the size to move, the more likely it fails | +| Copy many items to another oC account | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy more than 500 files and folders to another account (two different spaces) and oC10 account | All items copied. Check in web | | Sometimes fails, unestable. The higher the size to move, the more likely it fails| +| Copy file to another provider | 1. Add oCIS and oC10 accounts
2. Open any app with access to Document Provider
3. Copy file from oC accounts to another provider in device | File copied there | | | +| Copy folder to another provider | 1. Add oCIS and oC10 accounts
2. Open any app with access to Document Provider
3. Copy folder with subfolders to another provider in device | Folder copied | | | +| Copy many items to another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy more than 500 files and folders to another provider in device | All items copied | | | +| Copy file from another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy file from another provider to oC10 and oCIS account (any space) | File created in accounts (check in web) | | | +| Copy folder from another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy folder with subfolders from another provider to oC10 and oCIS account (any space) | Folders created in accounts (check in web) | | | +| Copy many items from another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy more than 500 files and folders from another provider to oC10 and oCIS account (any space) | All items created in accounts (check in web) | | | +| No connection | Copy an item with no connection | Correct error, item not copied | | | +| Source removed | Copy an item and before submitting, remove the source item from web UI | Correct error, item not copied | | | +| Target removed | Copy an item and before submitting, remove the target folder from web UI | Correct error, item not copied | | | +|**Move**||| +| Move file to same oC10 account | Move a file to another location in the same oC10 account| File moved. Check in web | | | +| Move file to same oCIS space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move file to another location in the same space | File moved. Check in web | | | +| Move folder to same oCIS space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move folder with subfolders to another location in the same space | File moved. Check in web | | | +| Move many items to same oCIS space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move more than 500 files and folders to another location in the same space | All items moved. Check in web | | | +| Move file to another oCIS space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move file to another space in same provider | File moved. Check in web | | | +| Move folder to another oCIS space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move folder with subfolders to another space in same provider | Folder moved. Check in web | | | +| Move many items to another oCIS space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move more than 500 files and folders to another space in same provider | All items moved. Check in web | | | +| Move file to another oC10 account | 1. Add oC10 account
2. Open any app with access to Document Provider
3. Move file to another oC10 account and oCIS (two different spaces) a | File moved. Check in web | | | +| Move file to another oC account | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move file to another account (two different spaces) and oC10 | File moved. Check in web | | | +| Move folder to another oC account | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move folder with subfolders to another account (two different spaces) and oC10 | Folder moved. Check in web | | Unestable | +| Move many items to another oC account | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move more than 500 files and folders to another account (two different spaces) and oC10 | All items moved. Check in web | | | +| Move file to another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move file to another provider in device | File moved | | | +| Move folder to another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move folder with subfolders to another provider in device | Folder moved | | | +| Move many items to another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move more than 500 files and folders to another provider in device | All items moved | | Moving forever till timeout | +| Move file from another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move file from another provider to oC10 and oCIS account (any space) | File created in accounts (check in web) | | | +| Move folder from another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy folder with subfolders from another provider to oC10 and oCIS account (any space) | Folders created in accounts (check in web) | | Unestable | +| Move many items from another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy more than 500 files and folders from another provider to oC10 and oCIS account (any space) | All items created in accounts (check in web) | | | +| No connection | Move an item with no connection |Correct error, item not moved | | | +| Source removed | Move an item and before submitting, remove the source item from web UI | Correct error, item not moved | | | +| Target removed | Move an item and before submitting, remove the target folder from web UI | Correct error, item not moved | | | +|**Delete**||| +| Delete file root | Delete a file in root folder | Correctly deleted, check in the app or web UI | P t13 | +| Delete file non-root | Delete a file in non-root folder | Correctly deleted, check in the app or web UI | P t13 | +| Delete folder root | Delete a folder in root folder | Correctly deleted, check in the app or web UI | P t13 | +| Delete folder non-root | Delete a folder in non-root folder | Correctly deleted, check in the app or web UI | P t13 | +| Delete several | Delete several items at the time| Correctly deleted, check in the app or web UI | P t13 | +| No internet connection | Delete any item with no internet connection| Error: `Couldn't delete this item`
(in notification) | P t13 | Is this the best way? +| No server connection | Delete any item with no server connection| Error: `Couldn't delete this item`
(in notification) | P t13 | Is this the best way? +| Maintenance mode (oC10) | Delete any item with server in maintenance mode| Error: `Couldn't delete this item`
(in notification) | P t13 | Is this the best way? +|**Create file**|||||| +| Create new file root| From a 3rd party app, create new file and save in oC using the doc prov, selecting the root folder | New file is correctly saved | P m11 | | | +| Create new file non-root| From a 3rd party app, create new file and save in oC, selecting a non-root folder | New file is correctly saved in the folder | P m11 | | | +| Create new file oCIS spaces | From a 3rd party app, create new file and save in oC, selecting a non-root folder in a custom space | New file is correctly saved in the space | P m11 | | +| Conflict | From a 3rd party app, create new file and save in oC, setting an existing name | Added a numeral to the file name | P m11| | | +| Conflict II | From a 3rd party app, create new file and save in oC, setting an existing name from a previous conflict | Added a second numeral to the file name | P m11 | | | +| Multiaccount | Add several accounts
From a 3rd party app, create new file and save it in oC in different accounts and target folders | File is correctly saved in all accounts and locations | P m11 | | | +|**Edit file**||||| +| Edit non downloaded file | Open a file with any editor and update the content.
Save the changes | Changes visible in oC | P m11 | +| Edit downloaded file | Open a file with any editor and update the content.
Save the changes | Changes visible in oC | P m11 | +| Edit external | Using a 3rd party app, open a oC file using document provider and edit it.
Save the changes | Changes visible in oC | P m11 | \ No newline at end of file diff --git a/Mobile/Android/Feature template/Release/RegressionTest.md b/Mobile/Android/Feature template/Release/RegressionTest.md index bbc65a8e..2c22dcc6 100644 --- a/Mobile/Android/Feature template/Release/RegressionTest.md +++ b/Mobile/Android/Feature template/Release/RegressionTest.md @@ -97,19 +97,19 @@ Add all automated that are not here | **Previews** |   | | | .txt | Download a txt file | The content is correctly displayed| [AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/download.feature) | | | .png | Download a png file | Image is correctly displayed| | | -| .jpg | Download a jpg file | Image is correctly displayed| | | +| .jpg | Download a jpg file | Image is correctly displayed| [AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/download.feature) | | | .svg | Open a SVG image | Image is correctly displayed | | .gif | Open a GIF file | GIF correctly reproduced in both orientations | -| Audio without coverart | Open a MP3 file that does not include cover| Music played and placeholder note displayed | +| Audio without coverart | Open a MP3 file that does not include cover| Music played and placeholder note displayed | [AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/download.feature) | Audio with coverart | Open a MP3 file that includes cover| Music played and cover displayed | -| Stream a video with https (trusted server) | 1. With a https server stream a video. Use the controls to move forward and backward and change orientation | Video is streamed correctly | +| Stream a video with https (trusted server) | 1. With a https server stream a video. Use the controls to move forward and backward and change orientation | Video is streamed correctly | [AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/download.feature) | Unsupported | Download a unsupported file (pdf, office...) | Menu to open in a different app is raised up| | | | **Open in web** | (Server with app providers)  | | | Open in web | 1. Click on 3-dot-button of a file which type is open by an available app provider in the server (usually Office files)
2. Select `Open in web` | File opened in browser| | | | New document | 1. Click on FAB button
2. Select `New document`
3. Pick one item and give a name to the file
4. Open te file in web (as previous test) | 3. File created in the list with 0B
4. Empty file opened | | | **Details view** |   | | | View | Open details view of a file | All info correctly displayed in both orientations | | | -| Downloaded file | 1. Click on 3-dot-button on a downlaoded file, and select `Details`
2. Click on thumbnail | File is displayed | | | +| Downloaded file | 1. Click on 3-dot-button on a downlaoded file, and select `Details`
2. Click on thumbnail | File is displayed |[AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/download.feature) | | | Not Downloaded | 1. Click on 3-dot-button on a non-downlaoded file, and select `Details`
2. Click on thumbnail | File is downloaded and displayed |[AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/download.feature) | | | **Av. offline** |   | | | Set a file as av. offline | 1. Select a file from the list by clicking on the 3-dot-button and click on Set as av. offline
2. Remove device connection | File is downloaded (fucsia badge) and previewed with server latest version | [AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/avoffline.feature) | | @@ -176,7 +176,7 @@ Add all automated that are not here | Share without Edit (file) | 1. Select a file from the list by clicking on the 3-dot-button
2. Select `Share`
3. Click on `+` of `Users and Groups` section
4. Type username of an existing user
5. Click on pencil icon to edit and revoke `Edit` permission | Check that sharee has access to the shared item in the list. Check that sharee is not allowed to edit the file (opened with 3rd party app, error in uploads view) | [AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/shares.feature) | | | Share without Create (folder) | 1. Select a folder from the list by clicking on the 3-dot-button
2. Select `Share`
3. Click on `+` of `Users and Groups` section
4. Type username of an existing user
5. Click on pencil icon to edit and revoke `Create` permission| Check that sharee has access to the shared folder in the list. Check that sharee is not allowed to upload new content to the folder (FAB hidden) | [AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/shares.feature) | | | Share without share permission | 1. Select an item from the list by clicking on the 3-dot-button
2. Select `Share`
3. Click on `+` of `Users and Groups` section
4. Type username of an existing user
5. Click on pencil icon to edit and revoke `Share` permission | Check that sharee has access to the shared item in the list. Check that sharee is not allowed to share the file with other users (share icon hidden) | [AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/shares.feature) | | -| Privileges inheritance | 1. Select an item from the list by clicking on the 3-dot-button
2. Select `Share`
3. Click on `+` of `Users and Groups` section
4. Type username of an existing user and revoking edit permissions
5. Sharee repeats the process and shares the item with a 3rd user, granting edit permissions | Error: `No permissions to execute this action` | | | +| Privileges inheritance | 1. Select an item from the list by clicking on the 3-dot-button
2. Select `Share`
3. Click on `+` of `Users and Groups` section
4. Type username of an existing user and revoking edit permissions
5. Sharee repeats the process and shares the item with a 3rd user, granting edit permissions | Error: `No permissions to execute this action` | [AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/shares.feature) | | | Delete | Over an existing share, click on the trashbin icon to remove all existing sharees | Check that sharees do not have access to the shared item
Check that the item in the file list of the sharing user does not include the share icon | [AUTO](https://github.com/owncloud/android-scenario-testing/blob/master/src/test/resources/io/cucumber/shares.feature) | | | **Private link** |   | | | Private link shared | 1. Select an item from the list by clicking on the 3-dot-button
2. Click on the link on the top right corner +Device(s):
+Execution date:
+Tester:
+Context:
+ + + + +| Title | Steps | Expected Result | Result | Comments | +| :---- | :-------- | :-------------- | :----: | :------- | +| **UI** |   | | +| Advanced | 1. Open `Settings` > `Advanced` | New option `Delete local copies` available, initially with `never` value. A short explanation about the feature should be visible as well. | | | +| Delete local copies | 1. Open `Settings` > `Advanced`
2. Open `Delete local copies` | Options available: `never`, `1 hour`, `12 hours`, `1 day`, `30 days`. | | +| **Actions** |   | | +| 1 hour | 1. Download several files in different accounts
2. Set as available offline several files and folders in different accounts
3. In `Delete local copies`, select `1 hour`
4. After 30 mins, download and set as av. offline more files and folders
5. Wait other 30 mins | After all the time, all downloaded files from step 2. are removed from local storage.
All the files downloaded in step 4. are still in local storage
All Available offline files from steps 2. and 4. are still available | | +| 12 hours | 1. Download several files in different accounts
2. Set as available offline several files and folders in different accounts
3. In `Delete local copies`, select `12 hour`
4. After 5 hours, download and set as av. offline more files and folders
5. Wait other 7 hours | After all the time, all downloaded files from step 2. are removed from local storage.
All the files downloaded in step 4. are still in local storage
All Available offline files from steps 2. and 4. are still available | | +| 1 day | 1. Download several files in different accounts
2. Set as available offline several files and folders in different accounts
3. In `Delete local copies`, select `1 day`
4. After 7h, download and set as av. offline more files and folders
5. Wait other 17h | After all the time, all downloaded files from step 2. are removed from local storage.
All the files downloaded in step 4. are still in local storage
All Available offline files from steps 2. and 4. are still available | | +| never | 1. Download several files in different accounts
2. Set as available offline several files and folders in different accounts
3. In `Delete local copies`, select `never`
4. Wait 2 days | After 2 days, all downloaded files are still available in local storage. Available offline files are also still available | | +| No files | 1. Remove all downloaded and av. offline items, so, local storage is empty in several accounts
2. In `Delete local copies`, select `1 hour`
4. Wait 2 hours | Nothing happens, since there are no files to remove | | +| Logs | 1. Enable logs in `Settings`
2. Generate some logs
3. In `Delete local copies`, select `1 hour`
4. Wait 1h | Logs are not removed from local storage | | +| **Value change** |   | | +| never -> 1 hour | 1. In `Delete local copies`, select `never`
2. Download several files in different accounts
3. Set as available offline several files and folders in different accounts
4. After 1h, select `1hour`
5. Wait 1h | All downloaded files are removed from local storage. Available offline files are still available | | +| 1 hour -> 1 day | 1. In `Delete local copies`, select `1 hour`
2. Download several files in different accounts
3. Set as available offline several files and folders in different accounts
4. After 30 mins, select `1 day`
5. Wait 1h
6. Wait 1 day | 5. No files are removed from local
6. All downloaded files are removed from local storage. Available offline files are still available | | +| 1 hour -> never | 1. In `Delete local copies`, select `1 hour`
2. Download several files in different accounts
3. Set as available offline several files and folders in different accounts
4. After 30 mins, select `never`
5. Wait 1h | No files are removed from local | | +| **Active files** |   | | +| Upload manually | 1. Select `1 hour` in Setting
2. Just before 1h, upload manually a very big file (system will try to remove it while uploading) | File is being synced in that moment, it shouldn't be removed from tmp | | +| Upload from 3rd party app | 1. Select `1 hour` in Setting
2. Just before 1h, share many files from a 3rd party app (system will try to remove it while uploading) | Files being synced in that moment shouldn't be removed from tmp | | +| Auto uploads | 1. Select `1 hour` in Setting
2. Enable auto uploads for videos
3. Just 15 mins before, record a video with the camera in order to be uploaded at the time the cleaning worker runs | Files being synced in that moment shouldn't be removed from tmp | | +| Image preview | 1. Select `1 hour` in Setting
2. Download a image and preview it
3. Keep it in the screen during 1h | After 1h file is not locally removed | | +| Txt preview | 1. Select `1 hour` in Setting
2. Download a text file and preview it
3. Keep it in the screen during 1h | After 1h file is not locally removed | | +| Video preview | 1. Select `1 hour` in Setting
2. Download a video file and preview it during 1h | After 1h file is not locally removed | | +| Audio preview | 1. Select `1 hour` in Setting
2. Download an audio file and preview it during 1h | After 1h file is not locally removed | | \ No newline at end of file diff --git a/Mobile/Android/Feature template/SAF & Storage/Documents provider.md b/Mobile/Android/Feature template/SAF & Storage/Documents provider.md index 399be700..a309df06 100644 --- a/Mobile/Android/Feature template/SAF & Storage/Documents provider.md +++ b/Mobile/Android/Feature template/SAF & Storage/Documents provider.md @@ -20,7 +20,7 @@ Recommended app to test: [Files](https://play.google.com/store/apps/details?id=c | Add new space | 1. Add oCIS account with some custom spaces
2. Open any app with access to Document Provider
3. In web, add a new space
4. In document provider app, pull to refresh | New space is listed in SAF| | | | Remove existing space | 1. Add oCIS account with some custom spaces
2. Open any app with access to Document Provider
3. In web, remove an existing space
4. In document provider app, pull to refresh | Space removed is no longer listed in SAF| | | | Two accounts with spaces | 1. Add two oCIS account with some custom spaces
2. Open any app with access to Document Provider
3. Switch to one account to other in the Document Provider app | Both apps showing their correct list of spaces in SAF| | | -| Space disabled | 1. Add oCIS accounts
2. In web, disable exiting space
3. Open any app with access to Document Provider | Disabled space is not listed in SAF| | | +| Space disabled | 1. Add oCIS accounts
2. In web, disable existing space
3. Open any app with access to Document Provider | Disabled space is not listed in SAF| | | |**Remove account**| Accounts added before|||| | Remove one account | Remove one account from oC
Open Doc. provider app | Account not available anymore in SAF | | | Remove two account | Remove two accounts from oC
Open Doc. provider app | Both accounts not available anymore in SAF | | @@ -32,32 +32,31 @@ Recommended app to test: [Files](https://play.google.com/store/apps/details?id=c | Browse No Personal oCIS | 1. Add oCIS account with custom spaces
2. Open any app with access to Document Provider to open the custom spaces
3. Browse through spaces in document provider app| All folders' content is listed in custom spaces in SAF| | | | Setting disabled | 1. Add some accounts
2. In app Settings, go to `Security` and click option `Lock access from document provider`
3. Open any app with access to Document Provider | Access to oC locked in all accounts in SAF| | | |**Create folder**||| -| Create folder root | Create a folder in root folder in SAF | Correct created, check in the app or web UI | | -| Create folder non-root | Create a folder in non-root folder in SAF | Correct created, check in the app or web UI | | -| Create folder existing | Create a folder with existing name in SAF | Correct error | | -| Folder with special characters | Create folder with special characters like &%ä^ in SAF | Correct error | | -| Folder with forbidden characters | Create folder with for6bidden characters like \ or / in SAF| Correct error | | -| Folder with longer name as allowed | Create folder with a longer than 256 characters name in SAF| Correct error | | -| No internet connection | Create folder with no internet connection in SAF| Correct error | | -| No server connection | Create folder with no server connection in SAF| Correct error | | -| Maintenance mode | Create folder with server in maintenance mode in SAF| Correct error | | +| Create folder root | Create a folder in root folder in SAF | Correctly created, check in the app or web UI | | +| Create folder non-root | Create a folder in non-root folder in SAF | Correctly created, check in the app or web UI | | +| Create folder existing | Create a folder with existing name in SAF | Error: `Failed to create folder` | | +| Folder with special characters | Create folder with special characters like &%ä^ in SAF | Correctly created, check in the app or web UI | | +| Folder with forbidden characters | Create folder with for6bidden characters like \ or / in SAF| Error: `Failed to create folder`| | +| Folder with longer name as allowed | Create folder with a longer than 256 characters name in SAF| Error: `Failed to create folder` | | +| No internet connection | Create folder with no internet connection in SAF| Error: `Failed to create folder` | | +| No server connection | Create folder with no server connection in SAF| Error: `Failed to create folder` | | +| Maintenance mode (oC10) | Create folder with server in maintenance mode in SAF| Error: `Failed to create folder` | | |**Rename**||| -| Rename file root | Rename a file in root folder in SAF | Correct renamed, check in the app or web UI | | -| Rename file non-root | Rename a file in non-root folder in SAF | Correct renamed, check in the app or web UI | | -| Rename folder root | Rename a folder in root folder in SAF | Correct renamed, check in the app or web UI | | -| Rename folder non-root | Rename a folder in non-root folder in SAF | Correct renamed, check in the app or web UI | | -| Select several to rename | Select several items in SAF| Rename is disabled | | -| Rename to empty name | Set blank the item name while renaming in SAF | Not posible | | -| Cancel rename | Open rename option
Cancel without renaming in SAF | File is not renamed | | -| Rename item with an existing name | Rename any item to another existing name in SAF | Correct error | | -| Rename item with special characters | Rename any item using special characters like &%ä^ in SAF | Correct error | | -| Rename item with forbidden characters |Rename any item using forbidden characters like \ or / in SAF| Correct error | | -| Rename item with no permision | Rename any shared item over which, there is no edit permission in SAF| Correct error | | -| Rename item with longer name as allowed | Rename any item with a longer than 256 characters name in SAF| Correct error | | -| Rename removed item | Rename any item that has just removed from web UI in SAF| Correct error | | -| Rename item with no internet connection | Rename any item with no internet connection in SAF| Correct error | | -| Rename item with no server connection | Rename any item with no server connection in SAF| Correct error | | -| Rename item with server in maintenance mode | Rename any item with server in maintenance mode in SAF| Correct error | | +| Rename file root | Rename a file in root folder in SAF | Correctly renamed, check in the app or web UI | | +| Rename file non-root | Rename a file in non-root folder in SAF | Correctly renamed, check in the app or web UI | | +| Rename folder root | Rename a folder in root folder in SAF | Correctly renamed, check in the app or web UI | | +| Rename folder non-root | Rename a folder in non-root folder in SAF | Correctly renamed, check in the app or web UI | | +| Select several to rename | Select several items in SAF| Rename is disabled | | +| Rename to empty name | Set blank the item name while renaming in SAF | Error: `You need to rename this` | | +| Cancel rename | Open rename option
Cancel without renaming in SAF | File is not renamed | P t13 | +| Rename item with an existing name | Rename any item to another existing name in SAF | Error: `A file with this name already exist`| | +| Rename item with special characters | Rename any item using special characters like &%ä^ in SAF | Correctly renamed, check in the app or web UI | | +| Rename item with forbidden characters |Rename any item using forbidden characters like \ or / in SAF| Error: `Failed to rename document` | | +| Rename item with longer name as allowed | Rename any item with a longer than 256 characters name in SAF| Error: `Failed to rename document` | | +| Rename removed item | Rename any item that has just removed from web UI in SAF| Error: `Failed to rename document` | | +| Rename item with no internet connection | Rename any item with no internet connection in SAF| Error: `Failed to rename document` | | +| Rename item with no server connection | Rename any item with no server connection in SAF|Error: `Failed to rename document` | | +| Rename item with server in maintenance mode | Rename any item with server in maintenance mode in SAF| Error: `Failed to rename document` | | |**Copy**||| | Copy file same oC10 account | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy a file to another location in the same oC10 account| File copied. Check in web | | | | Copy file to same space | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Copy file to another location in the same space | File copied. Check in web | | | @@ -91,7 +90,7 @@ Recommended app to test: [Files](https://play.google.com/store/apps/details?id=c | Move file to another oC account | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move file to another account (two different spaces) and oC10 | File moved. Check in web | | | | Move folder to another oC account | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move folder with subfolders to another account (two different spaces) and oC10 | Folder moved. Check in web | | Unestable | | Move many items to another oC account | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move more than 500 files and folders to another account (two different spaces) and oC10 | All items moved. Check in web | | | -| Move file to another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move file to another provider in device | File moved | P m12 | | +| Move file to another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move file to another provider in device | File moved | | | | Move folder to another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move folder with subfolders to another provider in device | Folder moved | | | | Move many items to another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move more than 500 files and folders to another provider in device | All items moved | | Moving forever till timeout | | Move file from another provider | 1. Add oCIS account
2. Open any app with access to Document Provider
3. Move file from another provider to oC10 and oCIS account (any space) | File created in accounts (check in web) | | | @@ -101,37 +100,22 @@ Recommended app to test: [Files](https://play.google.com/store/apps/details?id=c | Source removed | Move an item and before submitting, remove the source item from web UI | Correct error, item not moved | | | | Target removed | Move an item and before submitting, remove the target folder from web UI | Correct error, item not moved | | | |**Delete**||| -| Delete file root | Delete a file in root folder | Correct deleted, check in the app or web UI | | -| Delete file non-root | Delete a file in non-root folder | Correct deleted, check in the app or web UI | | -| Delete folder root | Delete a folder in root folder | Correct deleted, check in the app or web UI | | -| Delete folder non-root | Delete a folder in non-root folder | Correct deleted, check in the app or web UI | | -| Delete several | Delete several items at the time| Correctly deleted | | -| Delete item with no permision | Delete any shared item over which, there is no deletion permission | Correct error | | -| Delete deleted item | Delete any item that has just deleted from web UI | Correct error | | -| No internet connection | Delete any item with no internet connection| Correct error | | -| No server connection | Delete any item with no server connection| Correct error | | -| Maintenance mode | Delete any item with server in maintenance mode| Correct error | | +| Delete file root | Delete a file in root folder | Correctly deleted, check in the app or web UI | | +| Delete file non-root | Delete a file in non-root folder | Correctly deleted, check in the app or web UI | | +| Delete folder root | Delete a folder in root folder | Correctly deleted, check in the app or web UI | | +| Delete folder non-root | Delete a folder in non-root folder | Correctly deleted, check in the app or web UI | | +| Delete several | Delete several items at the time| Correctly deleted, check in the app or web UI | | +| No internet connection | Delete any item with no internet connection| Error: `Couldn't delete this item`
(in notification) | | +| No server connection | Delete any item with no server connection| Error: `Couldn't delete this item`
(in notification) | | +| Maintenance mode (oC10) | Delete any item with server in maintenance mode| Error: `Couldn't delete this item`
(in notification) | | |**Create file**|||||| -| Create new file root| From a 3rd party app, create new file and save in oC using the doc prov, selecting the root folder | New file is correctly saved | | | | -| Create new file non-root| From a 3rd party app, create new file and save in oC, selecting a non-root folder | New file is correctly saved in the folder | | | | -| Create new file oCIS spaces | From a 3rd party app, create new file and save in oC, selecting a non-root folder in a custom space | New file is correctly saved in the space | | | +| Create new file root| From a 3rd party app, create new file and save in oC using the doc prov, selecting the root folder | New file is correctly saved | | | | +| Create new file non-root| From a 3rd party app, create new file and save in oC, selecting a non-root folder | New file is correctly saved in the folder | | | | +| Create new file oCIS spaces | From a 3rd party app, create new file and save in oC, selecting a non-root folder in a custom space | New file is correctly saved in the space | | | | Conflict | From a 3rd party app, create new file and save in oC, setting an existing name | Added a numeral to the file name | | | | -| Conflict II | From a 3rd party app, create new file and save in oC, setting an existing name from a previous conflict | Added a second numeral to the file name | | | | -| Multiaccount | Add several accounts
From a 3rd party app, create new file and save it in oC in different accounts and target folders | File is correctly saved in all accounts and locations | | | | -| No connection | Create the new file with no connection | Correct error | | | | -| Auth failure | Change credentials before uploading the file | Correct error | | | | -| Remove target folder | Remove the target folder before submitting the new file | Correct error | | | | -| No permission | Share a folder with no edit permission
Create the file inside the folder | Correct error | | | | +| Conflict II | From a 3rd party app, create new file and save in oC, setting an existing name from a previous conflict | Added a second numeral to the file name | | | | +| Multiaccount | Add several accounts
From a 3rd party app, create new file and save it in oC in different accounts and target folders | File is correctly saved in all accounts and locations | | | | |**Edit file**||||| -| Edit non downloaded file | Open a file with any editor and update the content.
Save the changes | Changes visible in oC | | -| Edit downloaded file | Open a file with any editor and update the content.
Save the changes | Changes visible in oC | | -| Edit external | Using a 3rd party app, edit a oC file using document provider.
Save the changes | Changes visible in oC | | -| Edit removed file | Open a file with any editor and update the content.
Save the changes, and remove the file using other client | Correct error | | | -| Edit with no connection | With no connection, open a downloaded file with any editor and update the content.
Save the changes after removing the file using other client or the web | File is updated when connection is recovered | | -| Edit with no server connection | With no server connection, open a downloaded file with any editor and update the content.
Save the changes, and remove the file using other client | File is updated when connection is recovered | | -| Edit with maintenance mode | With maintenance mode, open a downloaded file with any editor and update the content.
Save the changes, and remove the file using other client | File is updated when maintenance mode is off | | -|**Conflicting**||||| -| Conflict local | Using document provider, open a file with any editor and update the content.
Make another change in other client or webUI.
Save the changes.
Take local option in conflict | conflict is shown
Local version uploaded | | -| Conflict server | Using document provider, open a file with any editor and update the content.
Make another change in other client or webUI.
Save the changes.
Take server option in conflict | Changes in oC
Server version downloaded | | -| Conflict both | Using document provider, open a file with any editor and update the content.
Make another change in other client or webUI.
Save the changes.
Take both option in conflict | Changes in oC
Both versions keep | | -| Conflict with av. offline | Using document provider, open an av. offline file with any editor and update the content.
Make another change in other client or webUI.
Save the changes.
Take local option in conflict | Conflict is shown in oC | | \ No newline at end of file +| Edit non downloaded file | Open a file with any editor and update the content.
Save the changes | Changes visible in oC | | +| Edit downloaded file | Open a file with any editor and update the content.
Save the changes | Changes visible in oC | | +| Edit external | Using a 3rd party app, open a oC file using document provider and edit it.
Save the changes | Changes visible in oC | | \ No newline at end of file