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

desktop client 3.0.0 testplan #784

Open
individual-it opened this issue Nov 29, 2022 · 14 comments
Open

desktop client 3.0.0 testplan #784

individual-it opened this issue Nov 29, 2022 · 14 comments

Comments

@individual-it
Copy link
Member

individual-it commented Nov 29, 2022

1. Install - Login (@saw-jan, macOS @HanaGemela )

TestID Test Case Steps to reproduce Expected Result Result Related Comment (Squish-Test) Server
1 Update Installation 1. You need to have installed a previous version 2. Update to the new version Test on Win, macOS, Linux ✔️ Win,
✔️ macOS,
✔️ Linux
2 Install the new version 1. Delete the previous version 2. Install the new version ✔️ Win,
✔️ macOS,
✔️ Linux
3 Verify that you can enter a server address (valid server cert) 1. Launch desktop client/add account 2. enter a server address 3. Click on Next 4. The lock is shown closed - SSL details on mouse over UI has changed
(need to remove this test case)
4 Verify that you can enter a server address (self signed cert) 1. Launch desktop client/add account 2. enter a server address 3. Click on Next 4. If it is the first time you should accept the certificate - click on the checkbox and OK (The lock is shown in closed - the server validated SSL connection window is opened) ✔️ tst_addAccount 🤖 oC10,
🤖 oCIS
5 Introduce username/password 1. Fill in username and password If the credentials are not correct a message is shown "Error: Wrong credentials" ✔️ tst_addAccount 🤖 oC10,
🤖 oCIS
6 Verify that all contents of the server account is synced to the local folder 1. Choose to sync everything from server (default option) 2. Select the local folder desired All the files/folders are synced down ✔️ tst_addAccount 🤖 oC10,
🤖 oCIS
7 Verify that only the folder(s) selected are synced in the local folder 0. Disable VFS, 1. Click on Choose what to sync 2. The remote folder(s) are shown, select which you want to sync 3. Select the local folder The selected folders selected are synced ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
8 Verify that you can skip folder configuration 1. Click on "Manually create folder sync connection" No settings dialog opens, the account shows only an "Add Folder Sync Connection" button. ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
9 Connect to a server with LDAP (or optinally AD) 1. Setup owncloud server with openldap, 2. Connect. Make sure no technical user name shows up in UI (e.g. account name, sharing...) ✔️ works as normal
10 Connect to a 8.1.x server 1. docker run -ti -p 8181:80 owncloud:8.1, 2. Connect. A warning appears: "The server version 8.1.12.2 is unsupported", but syncing works. ✔️ ✔️ unsupported warning
❌ Files are not synced
@individual-it
Copy link
Member Author

individual-it commented Nov 30, 2022

2. Folders @roshanlc @PrajwolAmatya macOS @HanaGemela

  • 'Go to local sync folder and create a folder' means: "Open folder" on client dot ... menu, create a new folder in file browser
  • 'Verify on the server' means: the folder is sent from client to server / check either with a) web browser, b) another client, or c) via server introspection
TestID Test Case Steps to reproduce Expected Result Result Related Comment (Squish-test) Server
1 Verify that you can create one folder 1. Go to local sync folder 2. Create a single folder 3. Wait for sync The folder is visible on the server ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
2 Verify that you can create one folder with long name 1. Go to local sync folder 2. Create a single folder with a long name (about 100 characters) 3. Wait for sync The folder visible on the server ✔️ tst_syncing
3 Verify that you can create one folder with special characters in the name 1. Go to local sync folder 2. Create a single folder with a special character(s) in the name (e.g $%ñ&) 3. Wait for sync The folder appears on the server ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
4 Verify that you can sync many subfolders 1. Go to local sync folder 2. Copy a folder with 5 empty subfolders and 5 folders containing files 3. Wait for sync All 10 subfolders are visible on the server ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
5 Verify that you can create multiples folders at once 1. Create a folder with 400 subfolders outside the sync root, 2. Move that into the sync root, 3. Wait for sync All 400 folders appear on the server ✔️
6 Verify that you can copy one folder 1. Go to local sync folder 2. Create a single folder with some files in it 3. Copy and paste the folder 4. Wait for sync Both copies appears on the server ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
7 Verify that you can create a subfolder with long name 1. Go to local sync folder, 2. Create a folder called "Folder1" 3. Create a subfolder called "LUsgzq!0k02sek+szBqrzN5=R#UJpWql&rwhnYVb~Gh!l!” (optionally up to 220 characters), 4. This subfolder had a file called ilppng.PNG inside it 5. Wait for sync The files are synced correctly ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
8 Verify pre existing folders in local (Desktop client) are copied over to the server 1. Turn off the Desktop client 2. Go to local sync folder 3. Create several folders inside the Desktop Client folder at several different levels, 4. Turn ON the Desktop Client Folders appear on the server ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
9 Filenames that are rejected by the server are reported 1. Go to local sync folder, 2. Create a file called "a\\a" (or another name not accepted by the server), 3. Wait for sync The sync status reports an error, the file s not synced ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
10 Sync works for .zip/.rar files with elaborate internal folder structures 1. Create a .zip file with many internal folders and files 2. Copy the .zip file to the Desktop Client folder 3. Unzip the .zip file inside the Destop Client folder 1. Make sure you get a popup saying that all the extracted files have synced. 2. Look at Via Web and make sure that the folder has been synced over ✖️ ocis,oc10 no popup notification
11 Files that error with API should try 3 times, and then blacklist 1. Try to sync a folder that has more than 65 characters 2. Then sync it with some contents, it should try three times and then be blacklisted 3. If you rename the folder it should try again, and succeed if the name is less than 65 characters The folder is synced ✖️ ocis,oc10 in both contents are not blacklisted Must have been a server limitation that no longer exists. Can most likely be ignored.
12 Invalid system names 1. On the server, create folders named 'CON', 'COM1' and 'test%' and two files named 'PRN' and 'foo%' A MacOS client syncs down 'CON', 'COM1' and 'PRN' but not 'test% or 'foo%' 🔴 ocis and oc10 both syns everything
13 Invalid system names 1. On the server, create folders named 'CON', 'COM1' and 'test%' and two files named 'PRN' and 'foo%' A windows client syncs down 'test%' and 'foo%' but not 'CON', 'COM1' or 'PRN' ✔️
14 🤖 Invalid system names 1. On the server, create folders named 'CON', 'COM1' and 'test%' and two files named 'PRN' and 'foo%' A Linux client syncs down all. ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
15 Long path on Windows (VFS OFF) syncs ** 1. On server: create a file (~ 30 chars) inside 6 subfolders (each ~ 50 chars) to get a path length > 260 chars (> MAX_PATH) 2. Start client and connect with VFS OFF 3. 'Open folder' and enter the subfolders 4. Create a new file 1. Make sure all subfolders and file are available 2. New file is synced to server ✔️
16 Long path on Windows (VFS ON) syncs ** 1. On server: create a file (~ 30 chars) inside 6 subfolders (each ~ 50 chars) to get a path length > 260 chars (> MAX_PATH) 2. Start client, add account and connect with VFS ON 3. 'Open folder' and enter the subfolders 4. Create a new file 1. Make sure all subfolders and file are available 2. New file is synced to server ✔️
17 Long path explorative testing on Windows ** Use test scenarios 15/16 to perform tests like: create more files/subfolders in Explorer or in terminal (PowerShell), move files/folders, rename, edit a file... Folder/files are synced without errors ✔️

** Make sure LongPathsEnabled in Windows registry is 'off' (see https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd). Nevertheless the client should handle the long path > 260 correctly.

@individual-it
Copy link
Member Author

individual-it commented Nov 30, 2022

3. Files @HanaGemela

Note: "Via Web" means check files on server in web browser

TestID Test Case Steps to reproduce Expected Result Result Related Comment Server
1 🤖 User should see the single file on Via Web when the file is successfully sync in Desktop Client sync folder 1. Drop one selected file in Desktop Client sync folder 2. User can see end receive notification from System tray that single file is successfully added in Desktop Client sync folder 3. Go to Desktop Client system tray icon and select launch Via Web Verify that user can see that the single file is sync on Desktop Clien Sync folder and is available on Via Web ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
2 User should see the multiple file on Via Web when the files or folders are successfully sync in Desktop Client Sync folder 1. Drop multiple selected files in Desktop Client Sync folder 2. User can see and receive notification from System tray that multiple files or folders are successfully added in Desktop Client Sync folder 3. Go to Desktop Client System tray icon and select launch Via Web Verify that User can see that multiple files are sync on Desktop Client folder and are available on Via Web ✔️ File is synced. But no Popup Notification will be shown
3 User adds file to the sync folder will show up in repository 1. Users see a completed icon overlay on the copied file(s) in the Desktop client folder 2. The Sync Files tab shows the files added in the Desktop Client folder from desktop ✔️
4 🤖 User adds the various types of files 1. Microsoft word documents, Microsoft Excel, Microsoft Powerpoint, .JPG, .PDF, .MP3 The Sync files tab shoe all type of files added in th Desktop Client folder from desktop ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
5 🤖 File with long name can be synced Create a file with this name "thisIsAVeryLongFileNameToCheckThatItWorks-thisIsAVeryLongFileNameToCheckThatItWorks-thisIsAVeryLongFileNameToCheckThatItWorks-thisIsAVeryLongFileNameToCheckThatItWorks-thisIsAVeryLongFileNameToCheckThatItWorks-thisIs.txt" Sync is successful ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
6 🤖 File with a name longer than 233 raise an error Try to sync a file with a file name > 233 characters The "Not synced" tab shows an error, the file is blacklisted ✔️ oc10 🔴 ocis synced ok tst_syncing 🤖 oC10
7 User copies/drag&drops multiple files at a time to the Sync folder 1. Users see the completed icon overlay on all type of files in Desktop Client folder on Desktop. 2. The Sync files tab shows all type of files added in the Desktop Client folder from Desktop Sync is successful ✔️
8 Sync files at the same time 1. Add a file of 1MB onthe local inside folder, and in the same time, add another file on the same remote folder (make sure that file is on the server before the client finishes) Look at Via Web and the Desktop Client to make sure that the sync is correct ✔️
9 Same name files, different extension 1. Create the same name file with two differents extensions The files are sync corectly ✔️
10 🤖 Files with spaces in the name 1. Move a file under the root sync folder with spaces in the name 2. Let them sync The files are sync correctly ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
11 Create and delete one file with special characters in the name 1. Go to Desktop Client 2. Create a single folder 3. Move with in this folder a file with a special characters in the name fo example "~`!@#$^&()-_=+{[}];'," 4. Wait for the file to sync to the Via Web 5. Delete the file in Desktop Client Look at Via Web and make sure that the file got deleted ✔️
12 User copies large files to the Desktop Client folder on the Desktop 1. User see in-progress overlay icon while upload is in progress in Desktop 2. User sees the completed sync icon overlay once the upload process is done The Sync files tab shows file added in th Desktop Client folder from desktop ✔️
13 upload 50Mb file 1. Create a folder under sync folder 2. Copy a large file (50MB) in this folder After several sync processes the file is correct ✔️
14 Upload 150Mb files 1. Upload a large .pdf (100-150MB) file through web browser Sync is successful ✔️
15 Upload 3000Mb files 1. Upload a large .pdf (3GB) file through web browser Sync is successful ✔️
16 Upload 2048Mb files 1. Upload a large file (2GB=2147483648 bytes) through web browser Sync is successful ✔️
17 Upload 1000Mb files 1. Upload a folder 1000 file (1Mb each) Sync is successful ✔️
18 🤖 Upload 500Mb+500Mb files 1. Upload two folders with 500 files each Sync is successful ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
19 🤖 Upload 1024Mb file 1. Upload a 1GB file Sync is successful ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
20 Verify the limit of the quota 1. Upload the necessary large files to fill the quota Warning: "The available space of your workspace is running out, please delete some files to free space" 🔴 ocis bug owncloud/client#10327 ✔️ oc10

@individual-it
Copy link
Member Author

4. Move files and folders @individual-it

NOTE: To automate these test we need to use files explorer instead of the client UI. So, these tests cannot be added.

TestID Test Case Steps to reprouce Expected Result Result Related Comment
1 Move from sublevels to root 1. Move a couple of files (File1 and File2) with different content under the root sync folder 2. Let them sync 3. Move other file under the root sync folder The content of files is correct ✔️
2 Move folder down 1. Move one folder from sync root to a 5 deep level folder 2. Sync The content of the folder is correct ✔️
3 Move folder up 1. Move one folder from 5 deep level folder to the sync root 2. Sync The content of the folder is correct ✔️
4 Move files from one folder another 1. Move a couple of files under the root sync folder 2. Create a folder 3. Let them sync 4. Move the files to the new folder 5. Let them sync The files in the correct size in Via Web ✔️
5 Move two or more folders down 1. Move two or more folders from sync root to a 5 dep level folder 2. Sync The content of the folder is correct ✔️
6 Move two or more folders up 1. Move one folder from 5 deep level folder to the sync root 2. Sync The content of the folder is correct ✔️

@individual-it
Copy link
Member Author

individual-it commented Nov 30, 2022

5. Edit Files @individual-it

TestID Test Case Steps to reprouce Expected Result Result Related Comment(Squish-test) Server
1 🤖 Edit a .txt file 1. Create a .txt file in a sync folder 2. Edit some text 3. Wait for it to sync 4. Modify the .txt file and add more content 5. Wait for it to sync 6. Modify the .txt file and add more content 7. Wait for it to sync The file at the server had the same content after the sync is completed ✔️ tst_editFiles 🤖 oC10,
🤖 oCIS
2 Edit a .doc file 1. Create a .doc file in a sync folder 2. Edit some text 3. Wait for it to sync 4. Modify the .doc file and add more content 5. Wait for it to sync 6. Modify the .doc file and add more content 7. Wait for it to sync The file at the server had the same content after the sync is completed files currently open in LibreOffice don't sync because they are locked, that looks for me to be correct
3 Edit a .xls file 1. Create a .xls file in a sync folder 2. Edit some content 3. Wait for it to sync 4. Modify the .xls file and add more content 5. Wait for it to sync 6. Modify the .xls file and add more content 7. Wait for it to sync The file at the server had the same content after the sync is completed files currently open in LibreOffice don't sync because they are locked, that looks for me to be correct
4 Replace a .pdf file 1. Create a .pdf file in a sync folder 2. Replace it with a different pdf (but same name) 3. Wait for it to sync 4. Modify the .pdf file and add more content 5. Wait for it to sync 6. Modify the .pdf file and add more content 7. Wait for it to sync The file at the server had the same content after the sync is completed ✔️
5 Edit a file while the folder is renaming 1. You should had any kind of file already sync 2. Go to Desktop Client 3. Open the file and edit it 4. Go to the Via Web and rename the folder 5. Sync with the oc-worker 6. Do not refresh the browser at the server and download the file edited The file at the server had the same content ✔️
6 Rename file and folder at the same time 1. Go to web, and rename a folder
2. Rename a file contained in the folder from the file explorer on your local computer
File and folder should rename both in server and locally ✔️

@individual-it
Copy link
Member Author

6. Delete Files and Folders -- @fmoc

TestID Test Case Steps to reprouce Expected Result Result Related Comment Server
1 🤖 Delete one file 1. Go to Desktop Client 2. Create or copy a single file with a short name (less than 20 characters) 3. Wait for the file to sync to the Via Web 4. Delete the file in Desktop Client The file is been deleted on Via Web ✔️ tst_deletFilesFolders 🤖 oC10,
🤖 oCIS
2 Delete one file with long name 1. Go to Desktop Client 2. Create or copy a single file with a long name (more than 240 characters) 3. Wait for the file to sync to the Via Web 4. Delete the file in Desktop Client The folder is been deleted on Via Web ✔️ tst_deletFilesFolders Maximum length of filename is 228 chraracter
3 🤖 Delete one folder 1. Go to Desktop Client 2. Create a single folder with a short name (more than 20 characters) 3. Wait for the folder to sync to the Via Web 4. Delete the folder in Desktop Client The folder is been deleted on Via Web ✔️ tst_deletFilesFolders 🤖 oC10,
🤖 oCIS
4 Delete one folder with long name 1. Go to Desktop Client 2. Create a single folder with a long name (59 characters+a terminating zero bytes) 3. Wait for the folder to sync to the Via Web 4. Delete the folder in Desktop Client The folder is been deleted on Via Web ✔️ tst_deletFilesFolders
5 Delete multiple files 1. Go to Desktop Client 2. Create or copy a multiple files 3. Wait for the files to sync to the Via Web 4. Delete the file in Desktop Client The files get deleted on Via Web ✔️
6 Delete large file (2048Mb) 1. Go to Desktop Client 2. Create or copy a single big file (2GB) 3. Wait for the file to sync to th Via Web 4. Delete the file in Desktop Client The file get deleted on Via Web ✔️

@individual-it
Copy link
Member Author

individual-it commented Nov 30, 2022

7. Sync process -- @fmoc

TestID Test Case Steps to reprouce Expected Result Result Related Comment Server
1 Move some files while sync 1. Move a couple of files (File1 and File2) with different content under the root sync folder 2. Let them sync 3. Move other file under the root sync folder and while sync 4. Delete File1 and rename File2 with the name File1 The content of files is correct ✔️
2 Rename the file while sync 1. Create a .txt file with some text in it 2. Let it sync 3. Rename the file and let is sync 4. While #3 is sync, edit the content of the .txt file The content of file is correct ✔️
3 Deleted folders while sync 1. Create a tree of folders+subfolders (e.g folder1, folder2, folder3 and some .txt files in this folder) 2. Delete the folders while sync Look at Via Web and make sure that the folders got deleted ✔️
4 Deleted folders while sync with two clients 1. Create a tree of folders+subfolders (e.g folder1, folder2, folder3 and some .txt files in this folder) 2. Delete some folders and keep another while sync 3. Sync with another client at the same time Look at Via Web and make sure that the folders got deleted and the remains folders sync correctly ✔️
5 Create a new folder with space ar the end 1. Create a folder with space at end Look if is sync ✔️ If you create a folder with a space at the end, your os (nautilus @ ubuntu) will remove this space needs to be done from a terminal, there it works fine. The folder is syncing
6 Deselect to the option "Allow apps to use the Share API" 1. Install the new version 2. Go to Server Client 3. Sing in as Admin user 4. Go to Admin 5. On Sharing option, deselect to the option "Allow apps to use the Sahre API" 6. Go to the Desktop Client 7. Configure one account 8. Open folder 9. Create new folder (e.g Example1) 10. Right click on the folder Example1 11. Click on "Share with oC" 12. If you introduce the Password and press enter There is no option "share with oc". Sharing with disabled Shareing Api doesn't work.
7 If you share a folder with another user, and then rename the folder on the Desktop does not change the name 1. Install the new version with 2 accounts (user1, user2) 2. Go to Server Client with user1 3. Create a new folder (e.g. Share with) 4. Click on Share, and share with user2 5. Go to Desktop Client with user2 6. Wait sync 7. Go to Server client with user1 8. Rename the Folder (Share with) to (Share with user2" 9. Go to Desktop client with user2 11. Wait sync The folder name has not change. The shared folder is actually a virtual mount point for all recipients, so renaming it doesn't affect all recipients. Only the contents of it will be visible for anyone. Works as expected ✔️

@individual-it
Copy link
Member Author

8. Spaces and permissions @individual-it

TestID Test Case Steps to reprouce Expected Result Result Related Comment Server
1 Viewer can view files in Space 1. Add a space as a user with Viewer permissions 2. Open a file from the space The file has been opened ✔️
2 Viewer cannot edit files in Space 1. Add a space as a user with Viewer permissions 2. Make changes in a file 3. Save the file Changes are not synced the client creates a conflicted copy
3 Editor can rename files in Space 1. Add a space as a user with Editor permissions 2. Rename a file in the space Change has been saved and synced ✔️
4 Manager can add new folders in Space 1. Add a space as a user with Manager permissions 2. Create a new folder in the space Folder has been synced ✔️

@individual-it
Copy link
Member Author

9. Without connection @individual-it

NOTE: It would be better to have the following tested manually instead of automating them

TestID Test Case Steps to reprouce Expected Result Result Related Comment Server
1 Upload several files and folder to the sync folder without internet 1. Upload several files and folder without internet 2. The connection is back The files and folder are sync with the server ✔️
2 Upload several files and folder with special characters to the sync folder without internet 1. Upload several files and folder without internet 2. The connection is back The files and folder are sync with the server ✔️
3 Upload the same folder from the server and form the client with differente files inside 1. Upload several files and folder without internet 2. The connection is back The files and folder are sync with the server ✔️
4 Remove folder from the client 1. Remove one folder from the local folder 2. The connection is back The folder is not on the server ✔️

@individual-it
Copy link
Member Author

individual-it commented Nov 30, 2022

10. Sharing

10.1 Share link (@roshanlc @PrajwolAmatya)

TestID Test Case Steps to reprouce Expected Result Result Related Comment Server
1 🤖 Share a Folder/File with special characters 1. User share a folder (special characters /, <,>,:,?) with you; 2. On the server accept the share, (if needed); 3. Refresh the parent folder File/Folder is not displayed as shared ✔️ tst_sharing 🤖 oC10
2 🤖 Share a Folder/File with special characters 1. User share a folder (special characters in the name $%ñ&) with you 2. Refresh the parent folder File/Folder is displayed as shared ✔️ sharing works on Linux and window. TODO: try mac tst_sharing 🤖 oC10
3 🤖 Unshare the Folder/File 1. User unshare a folder/file with you 2. Refresh the folder/file File/Folder is not shown as shared ✔️ oc10
on oCIS, the folder/file is not shown as shared anymore. On windows client, a dialog is shown to whether keep or remove the shared
tst_sharing 🤖 oC10
4 Unshare the Folder with you 1. at client navigate to shared folder with file browse or shell; 2. User unshares this folder with you 3. Upload file from Desktop Client New unshared folder ✔️ oc10
After unsharing, a dialog to whether keep or remove files on local storage
5 Verify shared icon, Ubuntu 1. Install nemo extension, 2. assert that both owncloud plugins are enabled in nemo, 3. Share a folder/file A fork-icon is overlayed on shared folders/files 🚧
6 Verify shared icon, Win+non-VFS 1. User share a folder When the folder or file is shared by link show a special icon ✔️
7 Verify shared icon, Win+VFS 1. User share a folder No sharing indicator (only status) is shown in VFS mode ✔️
8 Move a shared folder with permissions 1. Move a shared folder with permissions inside another shared folder from Desktop; 2. The needed permission is Edit-Write on the "other" folder. Cannot move to another shared folder (403 Forbidden) ✔️
11 🤖 Share a file with many users 1. Having one file shared with 80 users The Desktop works fine, list of users can be scrolled ✔️ (automated with 3 users, tst_sharing) - prefer manual testing for larger users 🤖 oC10
12 🤖 Share a Folder with public link and Password protect 1. Create a new folder 2. Share with oC 3. Check Share link option 4. Check Password protection 5. Introduce the password 6. Press Enter or Click on Set password option You can write the password ✔️ tst_sharing 🤖 oC10
13 🤖 Share a Folder with public link and Set expiration date 1. Create a new folder 2. Share with oC 3. Check Share link option 4. Check the Set expiration date 5. Introduce one day for expiration date You can configurate the expiration date ✔️ tst_sharing 🤖 oC10
14 🤖 Share a Folder with Allow editing Create a new folder 2. Share with oC 3. Check Share link option 4. Check Allow editing option The Folder can allow editing ✔️ tst_sharing 🤖 oC10
15 🤖 Share a File with Public link and Password protect 1. Create a new file 2. Share with oC 3. Check Share link option 4. Check Password protection 5. Introduce the password 6. Press Enter or Click on Set password option You can write the Password protect ✔️ tst_sharing 🤖 oC10
16 🤖 Share a File with public link and Set expiration date 1. Create a new file 2. Share with oC 3. Check Share link option 4. Check the Set expiration date 5. Introduce one day for expiration date You can configurate the expiration date ✔️ tst_sharing 🤖 oC10
17 Modify the Set expiration date option on the server 1. Create a new file on the Desktop 2. Share with oC 3. Create Public link at the client; 4. Check the Set expiration date 5. Introduce one day for expiration date 6. Go to the Server and change the date 7. Go to the Desktop 8. Wait to sync You can see the new date on Set expiration date ✔️ tst_sharing
18 🤖 Public link a file and download it 1) right click a file - open the share menu; 2) Create and copy public link to clipboard; 3) paste link in a web browser; 4) download The file can be downloaded ✔️ tst_sharing 🤖 oC10
19 🤖 Public link a folder and download it 1) right click a folder - open the share menu; 2) Create public link; 3) 3dots menu -> "copy public link to clipboard (direct download)"; 4) paste link in a web browser A zip archive of the folder can be downloaded ✔️ tst_sharing 🤖 oC10
20 🤖 Public link to a file and disable it after use the sharing menu to delete the public link The link reports File not found. ✔️ tst_sharing 🤖 oC10
21 Public link to a folder with 'Upload only (File Drop) 1) classic web UI create the public link as another user,
2) as your user, paste the link to "add to your owncloud",
3) wait for sync, visit the folder on the deskop,
4) Rename a file in the folder
Rename fails, an error message is shown skipped as its part of fed-sharing
22 Try to reshare a file originally received from an LDAP user The file can be reshared, if "Allow Share" was set, otherwise it cannot be reshared skipped
23 🤖 Public link to a file and set a password with special characters The file is shared with a pwd ✔️ tst_sharing 🤖 oC10
24 Public link to a file and set a password. Modify Password Policies and retry 1) enable Password Policy server app allow passwords with 4 chars; 2) share with a 4 char password; 3) change password policy to min 8 chars. 4) use client sharing dialog to remove the password, and re-enter the short password; 5) enter a password with 8 chars An error appears stating min passwiord length 8 for the short password; a longer than 8 chars password works ✔️ oc10
no such app

@individual-it
Copy link
Member Author

individual-it commented Nov 30, 2022

10.2 Share with Users and Groups -- @fmoc

TestID Test Case Expected Result Result Related Comment Server
1 🤖 Share a file with a user that has been already shared another file Both files appear in server ✔️ tst_sharing 🤖 oC10
2 🤖 Share a folder with a user The folder appears in server ✔️ tst_sharing 🤖 oC10
3 🤖 Share a folder with a user that has been already shared another folder and another file Both folders appear and the file in server ✔️ tst_sharing 🤖 oC10
4 🤖 Share a file with a group The file appears in server ✔️ tst_sharing 🤖 oC10
5 Share a folder with an LDAP user The folder appears in server oC10 ✔️, oCIS ❌ No sharing dialog available for oCIS accounts
6 Share a folder with remote user on a 10.2.1 server The folder appears ✔️
10 Receive a federated share from a 10.2.1 server When auto-accept is disabled: Notification with Dismiss/Accept/decline appears in the "Server Activity" tab oC10 ✔️, oCIS ❌ No sharing dialog available for oCIS accounts
11 🤖 Share a file with one user whose name contains special characters The file appears in server ✔️ tst_sharing 🤖 oC10
12 🤖 Share a folder with one users a file whose name contains special characters The folder appears in server ✔️ tst_sharing 🤖 oC10
13 Share a file bigger than 1 GB with one user The file appears in server oC10 ✔️, oCIS ❌ No sharing dialog available for oCIS accounts
14 Try to federate share a file with one user The file appears in server, expect delays oC10 ✔️, oCIS ❌ No sharing dialog available for oCIS
15 Share a file from SFTP with a user The file appears in server :oC10 ✔️, oCIS ❌ oCIS doesn't support SFTP shares, also no sharing dialog available. Federated sharing works, too.
19 Share a file from a Federated Sharing with a user The file appears in server oC10 ✔️, oCIS ❌
22 🤖 Share a file with user B with Can Share permissions enabled. Login as User B and reshare it The file can be reshared in the server with other user ✔️ tst_sharing 🤖 oC10
23 🤖 Share a file with user B with Can Edit permissions enabled. Login as User B and edit it The file can be edited in the server with other user ✔️ tst_sharing 🤖 oC10
24 🤖 Share a file with user B with Change permission enabled. Login as User B and change it The file can be changed in the server with other user ✔️ tst_sharing 🤖 oC10
25 🤖 Share a file with user B with Can Edit permissions enabled. Login as User B and edit it. Change via Desktop the permissions. try to edit it again The file can be edited in the server with other user ✔️ tst_sharing 🤖 oC10
26 🤖 Share a folder with user B with Can Share permissions enabled. Login as User B and reshare it The folder can be reshared in the server with other user ✔️ tst_sharing 🤖 oC10
27 🤖 Share a folder with user B with Can Edit permissions enabled. Login as User B and edit it The folder can be edited in the server with other user ✔️ tst_sharing 🤖 oC10
28 🤖 Share a folder with user B with Change permission enabled. Login as User B and change it The folder can be changed in the server with other user ✔️ tst_sharing 🤖 oC10
29 🤖 Share a folder with user B with Create permissions enabled. Login as User B and create a file in it The folder can be edited creating a file in the server with other user ✔️ tst_sharing 🤖 oC10
30 🤖 Share a folder with user B with Create permissions enabled. Login as User B and create a folder in it The folder can be edited creating a folder in the server with other user ✔️ tst_sharing 🤖 oC10
31 🤖 Share a folder with user B with Can Edit permissions enabled. Login as User B and delete it The folder can be deleted in the server with other user ✔️ tst_sharing 🤖 oC10
32 🤖 Share a folder with user B with Can Edit permissions enabled. Login as User B and edit it. Change via Desktop the permissions. Try to edit it again The folder cannot be edited the second time ✔️ tst_sharing 🤖 oC10
33 🤖 Share a file with user B without Can Share permission enabled. Login as User B and try to reshare it The file cannot be reshared ✔️ tst_sharing 🤖 oC10
34 🤖 Share a file with user B without Can Edit permission enabled. Login as User B and try to edit it The file cannot be edited ✔️ tst_sharing 🤖 oC10
35 🤖 Share a file with user B without Change permission enabled. Login as User B and try to change it The file cannot be changed ✔️ tst_sharing 🤖 oC10
36 🤖 Share a folder with user B without Can Share permission enabled. Login as User B and try to reshare it The folder cannot be reshared ✔️ tst_sharing 🤖 oC10
37 🤖 Share a folder with user B without Can Edit permissions enabled. Login as User B and try to edit it The folder cannot be edited, i.e. neither creating or deleting a file nor changing a file content is possible ✔️ tst_sharing 🤖 oC10
38 🤖 Share a folder with user B without Create permissions enabled. Login as User B and try to create a file in it Creating a file inside the folder isn't possible ✔️ tst_sharing 🤖 oC10
39 🤖 Share a folder with user B without Change permissions enabled. Login as User B and try to change a file inside the folder The file content cannot be changed ✔️ tst_sharing 🤖 oC10
40 🤖 Share a folder with user B without Delete permissions enabled. Login as User B and try to delete it Deleting the folder or files in it isn't possible ✔️ tst_sharing 🤖 oC10
43 Share link a file with a user and set a password and a expiration date The file is shared with pwd and expiration date ✔️ tst_sharing
44 Share link a file with a user and set a password and a expiration date. Change the expiration date The file is shared with the updated expiration date ✔️ tst_sharing
45 Share link a file with a user and set a password and a expiration date. Change the pwd The file is shared with the updated pwd ✔️ tst_sharing
46 🤖 Try to search a user that has already been shared the file in the users searchbox The user should not be shown ✔️ tst_sharing 🤖 oC10
47 Try to search yourself in the users searchbox The user should not be shown ✔️ tst_sharing
48 🤖 Search with minimum characters required. For example: 'pat' All users that contains this pattern should be shown ✔️ tst_sharing 🤖 oC10
49 Try to search a remote user in the users searchbox The user should be shown :oC10 ✔️, oCIS ❌ Sharing dialog not available for oCIS accounts
50 🤖 Share a file with more than 4 users The users should be listed and ordered chronologicaly. If is needed a scrollbar will appear ✔️ tst_sharing 🤖 oC10
51 Sharing Dialog
1)use a server with user01, user02, user03, ...
2)enter 'us' prefix in the search
3)matching users are listed.
The users are listed alphabetically. An exact match is listed first. ✔️
52 🤖 Enforce password protection on public links Password should be always required ✔️ tst_sharing 🤖 oC10
53 Enforce password protection on public links
Try to disable the pwd
Password should be always required ✔️ tst_sharing
54 🤖 Set default expiration date on public link The expiration date should be set by default ✔️ tst_sharing 🤖 oC10
55 Allow resharing disabled and Can Share enabled The user cannot reshare files ✔️ tst_sharing
56 Restrict users to only share with users in their groups It should appear only the users from the group ✔️
57 Disallow username autocompletion in share dialogs Full username needs to be entered in order to sharing ✔️ tst_sharing

@individual-it
Copy link
Member Author

individual-it commented Nov 30, 2022

11. Selective_Sync (@amrita-shrestha )

TestID Test Case Steps to reprouce Expected Result Result Related Comment Server
1 🤖 Check that in the setup options after fill in the server and the user you have to choose the server and local folder to sync 1. Start to setupo oC Desktop 2. Fill in server, user and password 3. The server and local folder to sync is shown 1. On server (you have to choose what do yo want to sync) 2. local folder (the local folder where the data are sync) ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
2a 🤖 Linux+Mac: Check that in the setup options the checkbox is enable to sync all the account by default 1. Start to setup oC Desktop 2. Fill in server, user and password 3. Click on "Choose what to sync" At window is opened with the directory tree ✔️ tst_syncing 🤖 oC10
2b Win10: Check that in the setup options the checkbox is enable to "use virtual files" default 1. Start to setup oC Desktop 2. Fill in server, user and password 3. Click on "Synchronize everything from server"; 4. "Choose what to sync" At window is opened with the directory tree ✔️
3 🤖 Check that all files and folders are synced when you select to sync all 1. Start to setup oC Desktop 2. Fill in server, user and pass 3. Click on "Sync everything from server" and wait until everything is sync Everything is synced ✔️ tst_syncing 🤖 oC10,
🤖 oCIS
4 🤖 Verify that you can select to sync only one folder 1. Start to setup the oC Desktop 2. The new window select what folder sync is shown 3. Select to sync only one folder 4. Click on OK Only one folder is sync ✔️ tst_syncing 🤖 oC10
5 Verify that the folder to select are sorted by name/size 1. Start to setup the oC Desktop 2. The new window to select what folder sync is shown 3. Select all the folder except one of them Everything except one folder is synced ✔️ tst_syncing
6 Check that there are another option: skip sync, so that nothing is synced 1. Start to setup oC Desktop 2. Fill in server, user and password 3. Click on "Manually create folder sync connection" The settings windows is openend but no local folder is configured ✔️ tst_syncing

11.1 Choose what to sync from the setup window

TestID Test Case Steps to reprouce Expected Result Result Related Comment Server
1 🤖 Verify that the folders that you unselect are not sync in Desktop 1. Start to setupo the oC Desktop 2. The new window to select what folder sync is shown 3. Unselect different kinds of folder with and without subfolders Check that the folder unselected are not sync ✔️ tst_syncing 🤖 oC10
2 The folder without subfolder doesn't show the arrow 1. Start to setup the oC Desktop app 2. The new window to select what folder sync is shown 3. Unselect different kinds of folder with and without subfolder When you click on a folder without subfolder the arrows disappear sometimes ✔️
3 🤖 Verify that the folders that you unselect are not sync in Desktop 1. Start to setupo the oC Desktop 2. The new window to select what folder sync is shown 3. Unselect different kinds of folder with and without subfolders The parent folder is sync but not the subfolder ✔️ tst_syncing 🤖 oC10
4 Upload from the server some files in a folder which is sync 1. Start to setup the oC Desktop app 2. The new window to select what folder sync is shown 3. Unselect different kinds of folder with and without subfolders 4. Upload files from server The files are download in the desktop client ✔️
5 Upload from the Desktop some files 1. Start to setup the oC Desktop 2. The new window to select what folder sync is shown 3. Unselect different kinds of folder with and without subfolders 4. Upload files from server in a folder wich is not sync The files are sync with the server ✔️
6 Upload from the server some files in a folder which is not sync 1. Start to setupo the oC Desktop 2. The new window to select what folder sync is shown 3. Unselect different kinds of folder with and without subfolder 4. Upload files from server which is not sync The files are not downloads in the Desktop client ✔️
7 Delete a folder sync, it is removed from the Desktop 1. Start to setup the oC Desktop 2. The new window to select what folder sync is shown 3. Unselect different kids of folder with and witout subfolders 4. Delete a folder sync, it is removed from the desktop The folder is removed int he server ✔️
8 Delete a sync folder from the server 1. Start to setup th oC Desktop 2. The new window to select what folder sync is shown 3. Unselect different kinds of folder with and without subfolders 4. Delete a sync folder from the server The folder is removed int the Desktop ✔️
9 Create a folder in the root directory from the server 1. Start to setup th oC Desktop 2. The new window to select what folder sync is shown 3. Unselect different kinds of folder with and without subfolders 4. Create a folder in the root directory from the server The folder is sync ✔️
10 Rename a folder that is synced 1. Start to set up the oC Desktop 2. The new window to select what folder sync is shown 3. Unselect different kinds of folders with and without subfolders 4. Rename a folder that is sync It is renamed in the window "Choose what to sync" can't rename root folder
11 Delete a folder that is sync 1. Start to setup th oC Desktop 2. The new window to select what folder sync is shown 3. Unselect different kinds of folder with and without subfolders It is not shown in the window "Choose what to sync" ✔️
12 Verify that when yo unselect all the folder, the root files continue sync 1. Start to setup th oC Desktop 2. The new window to select what folder sync is shown 3. Unselect different kinds of folder with and without subfolders Root files are sync ✔️
13 When you click on "Choose what to sync" folder tree is shown 1. Click on "Choose what to sync" It takes folder time to appear the folder tree, ✔️ tst_syncing

@individual-it
Copy link
Member Author

individual-it commented Nov 30, 2022

11.2 "Skip folders configuration" -- @fmoc

TestID Test Case Steps to reprouce Expected Result Result Related Comment Server
1 Skip folder configuration 1. Start to setup oC Desktop 2. Fill in server, user and password 3. Click on "Skip folders configuration" 1. No one local folder is sync 2. The setting window is opened and the account is registered oC10: ✔️ oCIS: ❌ There is no skip button. The only way to reproduce this case is to mark "Manually create folder sync connection" on and click the "connect" button. This is the new workflow for 3.0. For oCIS, only entire spaces can be selected; selective sync is not available for now.
2 Sync only one folder the settings view 1. Start to setupo oC Desktop 2. Fill in server, user and password 3. Click on "Skip folders configuration" 4. Click on Settings window/add folder The folder start to sync and the folder is available from the tray icon oC10: ✔️ oCIS: ❌ Also changed in 3.0. Picking "manually create folder sync connection" in the wizard is the suggested workflow now. For oCIS, only entire spaces can be selected; selective sync is not available for now.

@individual-it
Copy link
Member Author

individual-it commented Nov 30, 2022

11.3 "Add Folder..." (@roshanlc @PrajwolAmatya)

TestID Test Case Steps to reprouce Expected Result Result Related Comment Server
1 Skip folder configuration from the setup window and select the local and remote folder front he setting window 1. Start to setup oC Desktop 2. Fill in server, user and password 3. Click on "Skip folders configuration" 4. Click on Add folder 5. Select the local folder (choose an existing one) 6. Select the remote folder, click on continue 7. Select the subfolders of the remote folder and click on add 1. The local folder selected is sync wich the remote one ✔️ oc10
in ocis we can't select folder of personal space
2 Select a remote folder with special characters 1. Start to setup oC Desktop 2. Fill in server, user and password 3. Click on "Skip folders configuration" 4. Click on Add folder 5. Select the local folder (create a new folder with special characters) 6. Select the remote folder with special characters, click on continue 7. Select the subfolders of the remote folder and click on add 1. The local folder selected is sync wich the remote one ✔️ oc10
in ocis we can't select folder of personal space

@individual-it
Copy link
Member Author

12. Overlay_icons @individual-it (tested on Ubuntu 22.04 with nautilus)

TestID Test Case Steps to reprouce Expected Result Result Related Comment Server
1 If the system is offline, there are no overlay icons present 1. Launch the Desktop 2. The overlay icons are not shown 3. Quit the Desktop The overlay icons are not shown ocis ❌ oc10: ✔️ loosing connection to ocis only removes the overlay icon on the root folder
2 When you pause the sync, the overlay icons are still shown 1. Launch the Desktop 2. The overlay icons are shown 3. Click on Pause The overlay icons disappear ocis ❌ oc10: ✔️ pausing the sync does not get rid of the overlay icons on ocis
3 Green check (All files within the folder (all the way down the tree) are sync with the server, and there are no problems to report) 1. The account is sync The green check is shown in all the folders/files ✔️
4 Blue spinning icon (Some or all files/folders in the directory are waiting to sync or are actively sync) 1. The account is sync The files/folder that are waiting to sync have the blue icon ✔️
5 Yellow warning triangle (There is an error in sync somewhere in the directory such as a path longer than 255 characters or a bad character in a name o a file firewall problem) 1. The account is sync The files that are not sync because they have a problem... Have a yellow warning triangle file has a red X, parent folder has an !
6 Red error Icon (There is a fatal problem in the sync process that can't be resolved) 1. The account is sync The files/folders that are not sync because have a problem... Have a red error icon file has a red X, parent folder has an !

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