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

Testplan Release Desktop 2.10.0 #9290

Closed
15 tasks done
gabi18 opened this issue Dec 15, 2021 · 20 comments
Closed
15 tasks done

Testplan Release Desktop 2.10.0 #9290

gabi18 opened this issue Dec 15, 2021 · 20 comments

Comments

@gabi18
Copy link
Contributor

gabi18 commented Dec 15, 2021

Regression test for the Desktop Client

Test Plan Template

Previous requirements

Have a Desktop Client vX.X.0 ready to be used for testing.
-> https://download.owncloud.com/desktop/ownCloud/testing/2.10.0-rc1.6315/
-> https://download.owncloud.com/desktop/ownCloud/testing/2.10.0-rc2.6346/
-> https://download.owncloud.com/desktop/ownCloud/testing/2.10.0-rc3.6417/
latest build containing correct version of linux Qt packages (Qt 5.12.10)
-> https://download.owncloud.com/desktop/ownCloud/testing/2.10.0-rc3.6436/

Server (latest version) used for testing
-> https://oc1090-web-app-470-20211220.jw-qa.owncloud.works (probably broken, sorry - jw)
-> https://oc1091rc1-web-app-490-20220104.jw-qa.owncloud.works
-> https://oc1091-web-app-490-20220117.jw-qa.owncloud.works

Prepare a 10.2.1 server with ssl activated and trusted certificates.

  • env OC10_VERSION=10.2 bash deploy_oc10_apps.sh --
    -> server URL

Have the lastest released OC server ready with LDAP and two external storages of your choice (SFTP and WND) used for specific tests XXX add empty line before XXX

  • env OC10_DNSNAME=oc1080-ldap-DATE bash deploy_oc10_apps.sh oauth2 user_ldap password_policy files_pdfviewer windows_network_drive=2.0.0
    -> server URL

Avoid to use the same server for all persons who are testing but prepare an indivdual latest server in docker XXX

docker run --rm -ti -p 8080:8080 owncloud/server:10.9.1
firefox http://localhost:8080

Optional: Have an Active Directory server ready to be used with owncloud.

Testing

XXX this section has changes...

  • For each test set, choose a random platform win/linux/mac, unless test items specify otherwise. Record which platform was used.
  • "Enable logging to temporary folder" and "Log Http traffic" (tab 'Settings', button 'Log Settings') to have log-files available if needed to report an issue.
  • Manual testing is only required for tests not covered by automated squish testing (marked as 🤖)
  • Go to https://drone.owncloud.com/owncloud/client and look for the release tag vX.X.x, click on green checkmark of this commit and make sure all tests marked with 🤖 were run (search both: GUI-tests-@smoketest and GUI-tests-~@smokeTests)
  • Add the test result to 'Result' column. For success: ✔️, failure: ❌ (link the reported #issue to 'Related Comment')

Testplan Minor Release

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 15, 2021

Regression Testplan Patch Release

Template:

Regression_Test_Plan_Patch_Release.md

(from: https://testlink.owncloud.team/linkto.php?tprojectPrefix=desktop&item=testcase&id=desktop-158)

TO DO

  • So far squish tests only run on Ubuntu, for future: should run on Windows and macOS as well
  • Qt and OpenSSL versions: is it necessary to check it here? (for Win and macOS configured in craft, for Linux the system OpenSSL is used, qt packages are ownCloud packages), versions are listed in automated test result (e.g. Testplan Release Desktop 2.9 #8870 (comment))
  • manual check remains for file browser integration (overlay icons) and WinVFS XXX

Download:

https://download.owncloud.com/desktop/ownCloud/testing/2.10.0-rc1.6315/
https://download.owncloud.com/desktop/ownCloud/testing/2.10.0-rc3.6436/
https://download.owncloud.com/desktop/testpilotcloud/testing/2.10.0-rc3.6437/


  • Fresh install on Win10 using the unbranded ownCloud client MSI installer.
    • The MSI details page has
      • Verified publisher: ownCloud GmbH
      • certificate expires > 1y is: 15.02.2022 !
    • Settings tab, About has correct versions:
      • ownCloud client version
      • Qt 5.12.10 is: Qt 5.12.11 -> OK
      • OpenSSL 1.1.1i is: OpenSSL 1.1.1k -> OK
  • Visually check all tabs
    • Tabs look correct
  • VFS is enabled per default.
    • Files are virtual (right click menu shows grayed out "free up local space")
  • Sync a file to the server
    • File has been synced
  • Share a file with another user on the same server
    • File has been shared successfully
  • Create a public link
    • Public link has been created and can be opened in a browser
  • disable / re-enable VFS
    • VFS has been disabled / enabled
    • check Explorer icons: VFS off: overlay icons, VFS on: (Win) icon in 'Status' column

  • Install previous version of Testpilot client on Win 10 VFS ON
  • Update to new version while client is still running XXX -> here: manual update to 2.10.0-rc3
    • Running 'old' client is terminated without problems by MSI installer XXX
    • No error messages, no obvious problems
    • Make sure the account(s) is/are still configured and the users are logged in
    • winVFS is still enabled
    • "Open folder" and make sure folders/files are there
    • check db in sync root: .sync_journal.db is the only *.db file (enable 'hidden files' in 'View')

  • Downgrade to current version 2.10.0 is prevented -> here: cannot be tested, 2.11 not available
    • Install the next client version (daily2.X.x+1 or 2.X+1) on Win 10, configure an account with VFS ON
    • Downgrade to 2.X.x (need to deinstall newer version first)
    • Start client 2.X.x -> red error message "Downgrading the folder from 2.X.x+1 to 2.X.x is not supported"
    • Add a new account and try to reuse existing sync root -> error popup: "Existing connection... Please use another sync folder"

  • Install ownCloud desktop client on latest macOS using .pkg installer
    • Settings tab, About has correct versions: (info @michaelstingl)
      • ownCloud client version
      • Qt 5.12.10 is: Qt 5.12.11 -> OK
      • OpenSSL 1.1.1i is: OpenSSL 1.1.1k -> OK
  • Visually check all tabs
    • Tabs look correct
  • Sync a file to the server
    • File has been synced
  • Check the overlay icons
    • Overlay icons are present
  • Share a file with another user on the same server
    • File has been shared successfully
  • Create a public link
    • Public link has been created and can be opened in a browser
  • Enable VFS
    • VFS has been enabled
    • Overlay icons have changed (after 'Free up space')

  • Install ownCloud client on Ubuntu, Mint or Debian with GNOME desktop
    sudo apt install owncloud-client-nautilus ( the Files file-browser) XXX
    • Settings tab, About has correct versions:
      • ownCloud client version
      • Qt 5.12.10
      • OpenSSL at least 1.1.1 (depends on the operating system)
  • Visually check all tabs -> 🤖 tst_checkAlltabs
    • Tabs look correct
  • Sync a file to the server -> 🤖 tst_syncing
    • File has been synced
  • Check the overlay icons
    • Overlay icons are present
  • Share a file with another user on the same server -> 🤖 tst_sharing
    • File has been shared successfully
  • Create a public link -> 🤖 tst_sharing
    • Public link has been created and can be opened in a browser
  • Enable VFS -> 🤖 tst_vfs
    • VFS has been enabled

  • Install ownCloud client on Fedora or CentOS with GNOME and Nautilus file manager (or openSUSE with KDE and dolphin)
    sudo yum install owncloud-client-nautilus or openSUSE with KDE and Dolphin sudo zypper install owncloud-client-dolphin
    • Settings tab, About has correct versions:
      • ownCloud client version
      • Qt 5.12.10
      • OpenSSL at least 1.1.1 (depends on the operating system)
  • Visually check all tabs
    • Tabs look correct
  • Sync a file to the server
    • File has been synced
  • Check the overlay icons
    • Overlay icons are present
  • Share a file with another user on the same server
    • File has been shared successfully
  • Create a public link
    • Public link has been created and can be opened in a browser
  • Enable VFS
    • VFS has been enabled (suffix .owncloud after 'Free up space') XXX

  • For Beta or RC: Install Testpilot client on Windows 10
    • disable VFS in connction wizard
      • files are synced physically (right click menu doesn't show "Always keep on this device")
    • Settings tab, About has correct versions:
      • testpilot client version
      • Qt 5.12.10 (optional) is: Qt 5.12.11 -> ok
      • OpenSSL 1.1.1i (optional) is: OpenSSL 1.1.1k -> ok
  • Visually check all tabs
    • Tabs look correct
  • Sync a file to the server
    • File has been synced
  • Check the overlay icons (stop other owncloud client!)
    • Overlay icons are present
  • Share a file with another user on the same server
    • File has been shared successfully
  • Create a public link
    • Public link has been created and can be opened in a browser
  • Enable VFS (stop other owncloud client!)
    • VFS has been enabled
    • status icon in Explorer column is shown, on "Free up local space" changes to cloud icon
  • Disable VFS
    • Exclude a folder from being synced (selective sync)
    • Folder is deleted locally
    • Folder is not deleted on server
  • Testpilot client doesn't show ownCloud name or logo
    • Not mentioned in
      • Installer, Connection Wizard, Settings page, About dialog.

not relevant here:
* [ ] use Hannah's python script to trigger backup
* [ ] client responds at socket api (and log) with V2/BACKUP_FILES_FROM_RESULT
* [ ] test with > 100 files, response lists them all.

@gabi18 gabi18 mentioned this issue Dec 15, 2021
51 tasks
@gabi18
Copy link
Contributor Author

gabi18 commented Dec 15, 2021

Changelog testing

For Details see https://github.com/owncloud/client/releases

See also issue about failing squish tests: #9281

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 16, 2021

1. Settings windows - Login

TestID Test Case Steps to reproduce Expected Result Result Related Comment (Squish-Test)
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 app 2. enter a server address 3. Click on Next 4. The lock is shown closed - SSL details on mouse over ✔️ tst_addAccount
4 🤖 Verify that you can enter a server address (self signed cert) 1. Launch desktop app 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
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
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
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
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
9 Connect to a server with LDAP (or optinally AD) 0. Only for minor releases, 1. Setup owncloud server with openldap, 2. Connect. Make sure no technical user name shows up in UI (e.g. account name, sharing...) ✔️ tested on openSUSE 15.3
10 Connect to a 8.1.x server 0. Only for minor releases, 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. ✔️ tested on openSUSE 15.3

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 16, 2021

All tests have been done in Windows 10, Version 1809 (OS Build 17763.379)

2. Folders

  • '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)
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
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 (59 characters+a terminating zero bytes) 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
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
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 ✔️ It can also be automated next time 🤖
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
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 255 characters), 4. This subfolder had a file called ilppng.PNG inside it 5. Wait for sync The files are synced correctly ✔️ tst_syncing
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
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 , ❗ I think this test should be in the files tests not in folders
10 Verify one empty folder with a length longer than the allowed limit will not be synced 1. Go to local sync folder 2. Create a single empty folder with a name longer than that allowed by ILP (more than 59 characters) 3. Look at the Via Web repository 4. Repeat this with a folder at the root level, and in various subfolders up to 5 levels deep 5. Sync At the Via Web the folder has not been synced ❌ ✔️ Folder synced properly, Not an issue REF: #9312 (comment)
11 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 ✔️❌ ❗ Sync is fine, popup did not appear sometimes (tested 2 times, did not see popup 1 time)
12 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 ❌ ✔️ sync succeed in the first attempt with more than 65 characters. Not an issue REF: #9312 (comment)
13 Invalid system names 1. On the server, create folders named 'COM' and 'test%' and two files named 'PRN' and 'foo%' A MacOS client syncs down 'COM' and 'PRN' but not 'test% or 'foo%' 🚧
14 Invalid system names 1. On the server, create folders named 'COM' and 'test%' and two files named 'PRN' and 'foo%' A windows client syncs down 'test%' and 'foo%' but not 'COM' or 'PRN' XXX Restricted names see #9332 (comment) ❌ ✔️ the 'COM' folder gets synced to local sync directory #9332 . This is as expected. Not a bug
15 🤖 Invalid system names 1. On the server, create folders named 'COM' and 'test%' and two files named 'PRN' and 'foo%' A Linux client syncs down all. ✔️ already automated in #9258

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 16, 2021

All test have been done in Windows 10, Version 1809 (OS Build 17763.379)

3. Files

TestID Test Case Steps to reproduce Expected Result Result Related Comment
1 🤖 Via 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
2 Via 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 ✔️
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 ✔️
5 Long file name 1. Create a file with this name "dfkjsdfjksdkdfjsdfuidjfkdsjfksdjfks djfksdjfksdjfksdjfkdsjfks djfkdsjfkdsfjlsdkfjsdkjflksdjfk lsdjfksdjfkdsjfkldsjfkldsjfkdsjfksd jfksdjfklsdjfklsdjflksdjflksdjfklsdj fklsdjfksdjfksdjfksdjfksdjfksdfj skdfjksdjfksdjfksdjfksdjfksd.pdf" Sync is successful ✔️
6 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 ✔️
7 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 I have commented the observed behavior. Not sure if it is as expected, #9341
8 Same name files, different extension 1. Create the same name file with two differents extensions The files are sync corectly ✔️
9 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 ✔️
10 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 ✔️
11 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 ✔️
12 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 ✔️
13 Upload 150Mb files 1. Upload a large .pdf (100-150MB) file through web browser Sync is successful ✔️
14 Upload 3000Mb files 1. Upload a large .pdf (3GB) file through web browser Sync is successful ✔️
15 Upload 2048Mb files 1. Upload a large file (2GB=2147483648 bytes) through web browser Sync is successful ✔️
16 Upload 1000Mb files 1. Upload a folder 1000 file (1Mb each) Sync is successful ✔️
17 Upload 500Mb+500Mb files 1. Upload two folders with 500 files each Sync is successful ✔️
18 Upload 1024Mb file 1. Upload a 1GB file Sync is successful ✔️
19 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" The message is different "There is insufficient space available on the server for some uploads." And multiple message appears if I try to sync multiple items after quota is filled.

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 17, 2021

All test have been done in Windows 10, Version 1809 (OS Build 17763.379)

4. Move files and folders

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 ✔️ The file is synced while moving, however, if I cut from root before it is completely synced and paste it in the level 5 folder (for instance), then the cut file is created in root and duplicate file is synced
UPDATE: can not reproduce it after a clean setup
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 ✔️

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 17, 2021

All test have been done in Windows 10, Version 1809 (OS Build 17763.379)

5. Edit Files

TestID Test Case Steps to reprouce Expected Result Result Related Comment(Squish-test)
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
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 ✔️ tst_editFiles
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 ✔️ tst_editFiles
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 ✔️ tst_editFiles
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 (2.9.0 issue: #8921), the file can not be synced, appears alternating "i" icon and check mark in client #9342

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 17, 2021

All test have been done in Windows 10, Version 1809 (OS Build 17763.379)

6. Delete Files and Folders

TestID Test Case Steps to reprouce Expected Result Result Related Comment
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
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
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 ✔️

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 17, 2021

7. Sync process

TestID Test Case Steps to reprouce Expected Result Result Related Comment
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. 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 ✔️

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 17, 2021

8. Without connection

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
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 ✔️ win10vm:VFS-on
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 ✔️ win10vm:VFS-on
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 ✔️ win10vm:VFS-on
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 ✔️ win10vm:VFS-on

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 17, 2021

9. Sharing

9.1 Share link

TestID Test Case Steps to reproduce Expected Result Result Related Comment
1 🤖 Share a Folder/File with special characters 1. User shares a folder (with special characters /<>:?) with you
2. From the server accept the share if needed
3. Refresh the parent folder
File/Folder is not displayed as shared ✔️ <>:?.txt file can be created in Linux but not in Windows. So file will sync in Linux but not in Windows
Linux: tst_sharing
(User share)

win10vm:VFS-on
2 🤖 Share a Folder/File with special characters 1. User shares a folder (with special characters $%ñ&) with you
2. Refresh the parent folder
File/Folder is displayed as shared ✔️ sharing works on Linux and window
TODO: try on mac
tst_sharing
(User share)

win10vm:VFS-on
3 🤖 Unshare a shared Folder/File 1. User unshares a folder/file with you
2. Refresh the folder/file
File/Folder is not shown as shared ✔️ tst_sharing
(User share)

win10vm:VFS-on
4 Unshare the Folder with you which is opened in a file-explorer 1. Open a shared folder with file-explorer or shell
2. User unshares the folder with you from server
3. Upload a file to the opened shared folder
Folder error Win+Linux: No error. A new (unshared) folder gets created ✔️
(User share)

win10vm:VFS-on
5 Verify shared icon, Ubuntu 1. User share a folder When the folder/file are shared show a special icon 🚧 ❗Need to enable two ownCloud plugins in Nemo ✔️
(User share)
6 Verify shared icon, Win-nonVFS 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 When the folder or file is shared by link show a special icon No overlay indicators shown. Is this as designed?
8 Move a shared folder with permissions Move a shared folder with permissions inside another shared folder from Desktop (needed permission is Edit-Write on the "other" folder) Cannot move to another shared folder (403 Forbidden) ✔️
(User share)

win10vm:VFS-on
9 Move file from shared folder 1. Create a file inside the shared folder
2. Move file outside of the shared folder
The server of both users is updated 🚧 ❌ Cannot move to another shared folder (403 Forbidden)
(User share)

win10vm:VFS-on
That is a server test.
10 Move a shared folder with permissions 1. Move a shared folder with permissions inside another folder from Desktop
2. Create a file inside the shared folder
3. Update the file from user1
The Desktop update the file 🚧 ❌ Cannot move to another shared folder (403 Forbidden)
(User share)

win10vm:VFS-on
That is a server test.
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 ✔️ Maybe automated
(User share)

win10vm:VFS-on
12 🤖 Share a Folder with Password protect 1. Open public link sharing dialog for a folder
2. Check Password protection
3. Introduce the password
6. Press Enter or Click on Set password option
You can write the password ✔️ tst_sharing
13 🤖 Share a Folder with Set expiration date 1. Open public link sharing dialog for a folder
2. Check the Set expiration date
3. Introduce one day for expiration date
You can configure the expiration date ✔️ tst_sharing
14 Share a Folder with Allow editing 1. Open public link sharing dialog for a folder
2. Check Allow Editing option
The Folder can allow editing ✔️ Can be automated

win10vm:VFS-on
15 🤖 Share a File with Password protect 1. Open public link sharing dialog for a file
2. Check Password protection
3. Introduce the password
4. Press Enter or Click on Set password option
You can write the Password protect ✔️ tst_sharing
16 🤖 Share a File with Set expiration date 1. Open public link sharing dialog for a file
2. Check the Set expiration date
3. Introduce one day for expiration date
You can configure the expiration date ✔️ tst_sharing
17 Modify the Set expiration date option from the server 1. Open public link sharing dialog for a folder
2. Check the Set expiration date
3. Introduce one day for expiration date
4. Go to the Server and change the expiration date
5. Go to the Desktop and wait to sync
6. Check expiration date in sharing dialog
You can see the new expiration date ✔️ Can be automated

win10vm:VFS-on
18 Public link a file and download it 1. Right-click a file - open the oC sharing dialog
2. Create a Public link share
3. From ... menu Copy public link to clipboard
3. Paste link in a web browser and Download
The file can be downloaded ✔️ Includes browser steps - automate browser action?

win10vm:VFS-on
19 Public link a folder and download it 1. Right-click a folder - open the oC sharing dialog
2. Create a Public link share
3. From ... menu Copy public link to clipboard (direct download)
4. Paste link in a web browser
A zip archive of the folder can be downloaded ✔️ Includes browser steps - automate browser action?

win10vm:VFS-on
20 🤖 Public link a file and delete it 1. Create a Public link share and copy it from sharing dialog
2. Using the sharing dialog, delete the created Public link</>3. Check the copied link
The link reports File not found. ✔️ Automated but doesn't check the copied link
tst_sharing
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 ✔️ FIXME: 2.10.0 silently duplicates the file
22 Public link to a file and 'add to your owncloud' a user that belongs to the server and has been already shared another file The file is shared How to redirect to oc10 UI, not to web-UI. web-UI doesn't have add to your owncloud button
23 Public link to a file and 'add to your owncloud' with a user that belongs to another server The file is shared How to redirect to oc10 UI, not to web-UI. web-UI doesn't have add to your owncloud button
24 Public link to a file and 'add to your owncloud' with an LDAP user The file is shared How to redirect to oc10 UI, not to web-UI. web-UI doesn't have add to your owncloud button
25 Optionally Public link to a file and 'add to your owncloud' with an Active Directory user The file is shared How to redirect to oc10 UI, not to web-UI. web-UI doesn't have add to your owncloud button
26 Public link to a file and 'add to your owncloud' with a Shibboleth user autoprovisioned The file is shared ➖❓ Shiboleth is not supported
Can be removed?
27 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 🚧 (2.9.0 issue #8941)
28 Public link to a file and 'add to your owncloud' with a user that belongs to another oC server below 8.2.X version docker run --rm -ti -p 8181:80 owncloud:8.1 The file is added to the old server How to redirect to oc10 UI, not to web-UI. web-UI doesn't have add to your owncloud button
29 🤖 Public link to a file and set a password with special characters 1. Open public link sharing dialog for a file
2. Check Password protection
3. Introduce the password
4. Press Enter or Click on Set password option
You can write the Password protect. The file is shared with a password ✔️ tst_sharing
30 Public link to a file and set a password. Modify Password Policies and retry 1. Enable password policy app -> allow passwords with min 4 chars
2. Share a file with a 4 chars password
3. Change password policy to min 8 chars
4. Use client sharing dialog to remove the password, and re-enter the same 4 chars password
5. Enter a new password with 8 chars
An error appears stating min password length 8 for the short password.
8 chars password works
✔️ Maybe automated

win10vm:VFS-on

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 17, 2021

9.2 Share with Users and Groups

TestID Test Case Expected Result Result Related Comment
1 Enable encryption app and encryption default module Encryption is enabled correctly 🚧❓ no idea
2 🤖 Share a file with a user who already has another shared file Both files appear in server ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
3 🤖 Share a folder with a user The folder appears in server ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
4 🤖 Share a folder with a user who already has another shared folder and file Both folders and file appear in server ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
5 🤖 Share a file with a group The file appears in server ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
6 Share a folder with an LDAP user The folder appears in server 🚧
7 Share a file with an Active Directory user The file appears in server ➖❓ Can be removed?
8 Share a folder with a Shibboleth user autoprovisioned The folder appears in server ➖❓ SKIP. We don't support Shiboleth
Can be removed?
8a Share a file with a Shibboleth SSO user The file appears in server ➖❓ SKIP: We don't support Shiboleth
Can be removed?
9 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 🚧
11 🤖 Share a file that contains special characters The file appears in server ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
12 🤖 Share a folder that contains special characters The folder appears in server ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
13 Share a file bigger than 1 GB with one user The file appears in server ✔️ win10vm:VFS-on
14 Try to federate share a file with one user The file appears in server, expect delays 🚧
15 Share a file from SFTP with a user The file appears in server ✔️
16 Share a folder from SMB with a user The folder appears in server 🚧❓ Can be removed?
17 Share a file from WND with a user The file appears in server 🚧
18 Share a folder from Sharepoint with a user The folder appears in server 🚧❓ Can be removed?
19 Share a file from a Federated Sharing with a user The file appears in server, expect delays ✔️
20 Share a folder from redirect server with a user The folder appears in server 🚧❓ Can be removed?
21 Using a redirect server, Share a file with a user The file appears in server 🚧❓ Can be removed?
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
31 🤖 Share a folder with user B with Can Edit permissions enabled. Login as User B and delete it The folder can be edited in the server with other user ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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
Automated in #9323

win10vm:VFS-on
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 ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
38 🤖 Share a folder with user B without Create permissions enabled. Login as User B and try to create a file in it The folder cannot be edited creating a file in it ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
39 🤖 Share a folder with user B without Change permissions enabled. Login as User B and try to change it The folder cannot be changed ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
40 🤖 Share a folder with user B without Delete permissions enabled. Login as User B and try to delete it The folder cannot be edited deleting files/folders in it ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
41 🤖 With Password Policy App-enabled, Share link a file with a user and set a password that matches with the pwd policy The file is shared with pwd ✔️ tst_sharing
Public link share
42 With Password Policy App-enabled, Share link a file with a user and set a password that does not match with the pwd policy An error should be shown ✔️ Can be Automated
Public link share

win10vm:VFS-on
43 Share link a file with a user and set a password and an expiration date The file is shared with pwd and expiration date ✔️ Can be Automated
Public link share

win10vm:VFS-on
44 Share link a file with a user and set a password and an expiration date. Change the expiration date The file is shared with the updated expiration date ✔️ Can be Automated
Public link share

win10vm:VFS-on
45 Share link a file with a user and set a password and an expiration date. Change the pwd The file is shared with the updated pwd ✔️ Can be Automated
Public link share

win10vm:VFS-on
46 🤖 Try to search a user that has already been shared a file in the user search box The user should not be shown ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
47 🤖 Try to search yourself in the users search box The user should not be shown ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
48 🤖 Search users with minimum characters required. For example: 'pat' All users that contains this pattern should be shown ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
49 Try to search a remote user in the user search box The user should be shown ✔️ win10vm:VFS-on
50 🤖 Share a file with more than 4 users The users should be listed and ordered chronologically. If needed a scrollbar will appear ✔️ tst_sharing
Automated in #9323

win10vm:VFS-on
51 Sharing Dialog
1)use a server with user01, user02, user03, ...
2)enter 'use' prefix in the search
3)matching users are listed.
The users should be listed and sorted alphabetically. If is needed a scrollbar will appear ✔️
52 Enforce password protection on public links Password should be always required ✔️
53 Enforce password protection on public links.
Try to disable the pwd
Password should be always required ✔️
54 Set default expiration date on public link The expiration date should be set by default ✔️
55 Disable Allow resharing from server The user cannot reshare files ✔️ Maybe automated

win10vm:VFS-on
56 Restrict users to only share with users in their groups It should appear only the users from the group ✔️ Maybe automated

win10vm:VFS-on
57 Disallow username autocompletion in share dialogs from server Full username needs to be entered in order to share ✔️ Maybe automated

win10vm:VFS-on

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 17, 2021

10. Selective_Sync

TestID Test Case Steps to reprouce Expected Result Result Related Comment
1 🤖 Check that in the setup options after filling the server and the user that you can choose the server and local folder to sync 1. Start to setup the oC Desktop
2. Fill in server, user, and password
3. The server and local folder to sync is shown
1. On server (you can choose what do you want to sync) 2. local folder (the local folder where the data are synced) ✔️ tst_syncing
2a 🤖 Linux+Mac: Check that in the setup options the checkbox is enabled to sync all the files by default 1. Start to setup the oC Desktop
2. Fill in server, user, and password
3. Click on "Choose what to sync"
A window is opened with the directory tree ✔️ tst_syncing
2b Win10: Check that in the setup options the checkbox is enabled to "use virtual files" by default 1. Start to setup the oC Desktop
2. Fill in server, user, and password
3. Click on "Synchronize everything from server"
4. Click "Choose what to sync"
A window is opened with the directory tree ✔️ win10vm:VFS-on
3 🤖 Check that all files and folders are synced when you select to sync all 1. Start to setup the oC Desktop
2. Fill in server, user, and pass
3. Click on "Sync everything from server" and wait until everything is synced
Everything is synced ✔️ tst_syncing
4 🤖 Verify that you can select only one folder to sync 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Select to sync only one folder
4. Click on OK
Only one folder is sync ✔️ tst_syncing
5 🤖 Verify that the folders to select can be sorted by name/size 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Click Name/Size column to sort
Folders are sorted ✔️ tst_syncing
6 🤖 Check that there is another option: skip sync, so that nothing is synced 1. Start to setup the oC Desktop
2. Fill in server, u

ser, and password
3. Click on "Manually create folder sync connection"
The settings windows is opened but no local folder is configured ✔️ tst_syncing

10.1 Choose what to sync from the setup window

TestID Test Case Steps to reprouce Expected Result Result Related Comment
1 🤖 Verify that the folders that you unselect are not synced in Desktop 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Unselect different kinds of folders with and without subfolders
Check that the unselected folders are not synced ✔️ tst_syncing
2 The folder without subfolders doesn't show the arrow 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
When you click on a folder without a subfolder the arrow disappears (issue: #8935)

win10vm:VFS-on
3 🤖 Verify that the subfolders that you unselect are not synced in Desktop 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Select only one folder with subfolders
4. Unselect subfolders
The parent folder is sync but not the subfolders ✔️ tst_syncing
4 Upload from the server some files in a folder that is synced 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Select some folders to sync
4. Upload files from server to the synced folder
The files are downloaded to the desktop client ✔️ win10vm:VFS-on
5 Upload from the Desktop some files 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Select some folders to sync
4. Upload files from desktop
The files are synced to the server ✔️ win10vm:VFS-on
6 Upload from the server some files in a folder that is not synced 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Select some folders to sync
4. Upload files from server to the unsynced folder
The files are not downloaded to the Desktop client ✔️ win10vm:VFS-on
7 Delete a synced folder 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Select some folders to sync
4. Wait for sync and delete one folder
The folder is removed in the server ✔️ win10vm:VFS-on
8 Delete a synced folder from the server 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Select some folders to sync
4. Delete a synced folder from the server
The folder is removed in the Desktop ✔️ win10vm:VFS-on
9 Create a folder in the root directory from the server 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Select some folders to sync
4. Create a folder in the root directory from the server
The folder is synced ✔️ win10vm:VFS-on
10 Rename a folder that is synced from server 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Select some folders to sync
4. Rename a folder that is synced from server
5. Click "Choose what to sync" from ... menu
It is renamed in the window "Choose what to sync" ✔️ win10vm:VFS-on
11 Delete a folder that is synced 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Select some folders to sync
4. Delete a folder that is synced from server
5. Click "Choose what to sync" from ... menu
It is not shown in the window "Choose what to sync" ✔️ win10vm:VFS-on
12 Verify that when you unselect all the folders, the root files continue to sync 1. Start to setup the oC Desktop
2. Click "Choose what to sync"
3. Unselect all folders and add account
Root files are synced ✔️ win10vm:VFS-on
13 Check "Choose what to sync" option from ... menu (Account window) 1. Click "Choose what to sync" from ... menu Folder tree appears ✔️ win10vm:VFS-on

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 17, 2021

10.2 Skip folders configuration

TestID Test Case Steps to reprouce Expected Result Result Related Comment
1 Skip folder configuration 1. Start to setup oC Desktop
2. Fill in server and then user and password
3. Choose Manually create folder sync ... option
1. No local folder is synced
2. The account is registered
✔️ win10vm:VFS-on
2 Add sync folder from the account window 1. Start to setupo oC Desktop
2. Fill in server and then user and password
3. Choose Manually create folder sync ... option
4. From Account window add sync folder using "Add Folder Sync Conn..." button
The folder start to sync and the folder is available from the tray icon ✔️ win10vm:VFS-on

10.3 "Add Folder..."

TestID Test Case Steps to reprouce Expected Result Result Related Comment
1 Skip folder configuration from the setup window and select the local and remote folder from the account window 1. Start to setupo oC Desktop
2. Fill in server and then user and password
3. Choose Manually create folder sync ... option
4. Click "Add Folder Sync Conn..." button from Account window
5. Select the local folder (choose an existing one)
6. Select the subfolders of the remote folder and click on add
1. The local folder selected is synced with the selected one ✔️ win10vm:VFS-on
2 Select a remote folder with special characters 1. Start to setupo oC Desktop
2. Fill in server and then user and password
3. Choose Manually create folder sync ... option
4. Click "Add Folder Sync Conn..." button from Account window
5. Select the local folder (choose an existing one)
6. Select the remote folder with special chars and click on add
1. The local folder selected is synced with the selected one ✔️ win10vm:VFS-on

@gabi18
Copy link
Contributor Author

gabi18 commented Dec 17, 2021

11. Overlay_icons

TestID Test Case Steps to reprouce Expected Result Result Related Comment
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 ✔️ win10vm:VFS-off
2 When you pause the sync, the overlay icons are still shown XXX rewrite test, overlay icon aren't shown 1. Launch the Desktop
2. The overlay icons are still shown 3. Click on Pause
The overlay icons are still shown win10vm:VFS-off - icons are not shown ✔️
3 Green check (All files within the folder (all the way down the tree) are synced with the server, and there are no problems to report) 1. Sync an account The green check is shown in all the folders/files ✔️ win10vm:VFS-off
4 Blue spinning icon (Some or all files/folders in the directory are waiting to sync or are actively synced) 1. Sync an account The files/folder that is waiting to sync have the blue icon ✔️ win10vm:VFS-off
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 of a file, firewall problem) 1. Sync an account that has problematic files or folders The files that are not synced because they have a problem have a yellow warning triangle icon ✔️ ❗
(blue "I" icon)
Cannot create file/folder with more than 222 characters both on server and desktop.
Files/Folders that are not synced due to special characters have blue "I" icon

win10vm:VFS-off
6 Red error Icon (There is a fatal problem in the sync process that can't be resolved) 1. Sync an account
2. Perform invalid action (moving a shared folder to another shared folder by share receiver)
The files/folders that are not synced due to fatal error have a red error icon ✔️ win10vm:VFS-off

@gabi18 gabi18 changed the title Testplan Release Desktop 2.10 Testplan Release Desktop 2.10.0 Dec 21, 2021
@michaelstingl
Copy link
Contributor

@gabi18 We should consider adding an oCIS instance to the testplan. (#9324)

@Talank
Copy link
Contributor

Talank commented Jan 7, 2022

Observed behavior for 3 -> 7

If I update a file simultaneously in the server and in desktop client, then the conflict arises. And this conflict does not disappears even though the file is properly synced. However, if I reload the app (quit and restart) then the message disappears.

Also, the client tries to sync the conflicted file 3 times, and 4th attempt never gets executed. And the file is not blacklisted, if I do nothing and wait for the 4th attempt.

Screenshot

Screenshot from 2022-01-06 17-15-49

Screenshot from 2022-01-06 17-13-24

Generated log files

log_conflict_not_blacklised_after_3_trials.zip

@gabi18
Copy link
Contributor Author

gabi18 commented Jan 10, 2022

@TheOneRing The Windows certificate expires on 15.02.2022 - could you please take care.

win-certificate

@Talank
Copy link
Contributor

Talank commented Jan 13, 2022

Retest fixed issues

These 2 tests are retested in rc4.

TestID Test Case Steps to reproduce Expected Result Retest Result Related Comment
3.7 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 ✔️ #9341
5.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 ✔️ #9342

Few other tests carried out (which were not in testplan)

Some other tests centered around the retested scenarios

TestID Test Case Steps to reproduce Expected Result Retest Result Related Comment
1 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 in your local computer
file and folder should rename both in server and locally ✔️

@xoxys xoxys unpinned this issue Jan 31, 2022
@xoxys xoxys pinned this issue Jan 31, 2022
@TheOneRing TheOneRing unpinned this issue Feb 7, 2022
@gabi18 gabi18 closed this as completed Feb 9, 2022
@gabi18
Copy link
Contributor Author

gabi18 commented Feb 14, 2022

@gabi18 We should consider adding an oCIS instance to the testplan. (#9324)

oCIS tests are added to the patch release template https://github.com/owncloud/QA/blob/master/Desktop/Regression_Test_Plan_Patch_Release.md.

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

3 participants