Skip to content

Commit cc7b66e

Browse files
committed
test(refactor): skip selective sync tests because of VFS
1 parent 09ce064 commit cc7b66e

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

test/gui/tst_syncing/test.feature

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Feature: Syncing files
5757
client content
5858
"""
5959

60+
@skipOnWindows
6061
Scenario: Sync all is selected by default
6162
Given user "Alice" has created folder "simple-folder" in the server
6263
And user "Alice" has created folder "large-folder" in the server
@@ -81,6 +82,7 @@ Feature: Syncing files
8182
But the folder "simple-folder" should not exist on the file system
8283
And the folder "large-folder" should not exist on the file system
8384

85+
@skipOnWindows
8486
Scenario: Sync only one folder from the server
8587
Given user "Alice" has created folder "simple-folder" in the server
8688
And user "Alice" has created folder "large-folder" in the server
@@ -111,7 +113,7 @@ Feature: Syncing files
111113
And the user waits for the files to sync
112114
Then as "Alice" folder "simple-folder" should not exist in the server
113115

114-
@issue-9733
116+
@issue-9733 @skipOnWindows
115117
Scenario: sort folders list by name and size
116118
Given user "Alice" has created folder "123Folder" in the server
117119
And user "Alice" has uploaded file with content "small" to "123Folder/lorem.txt" in the server
@@ -456,6 +458,7 @@ Feature: Syncing files
456458
And as "Alice" the file "file2.txt" should have the content "Test file2" in the server
457459

458460

461+
@skipOnWindows
459462
Scenario: sync remote folder to a local sync folder having special characters
460463
Given user "Alice" has created folder "~`!@#$^&()-_=+{[}];',)" in the server
461464
And user "Alice" has created folder "simple-folder" in the server
@@ -566,7 +569,7 @@ Feature: Syncing files
566569
And as "Brian" file "Shares/simple-folder/simple.pdf" should exist in the server
567570
And as "Brian" the file "Shares/simple-folder/uploaded-lorem.txt" should have the content "overwrite openCloud test text file" in the server
568571

569-
572+
@skipOnWindows
570573
Scenario: Unselected subfolders are excluded from local sync
571574
Given user "Alice" has created folder "test-folder" in the server
572575
And user "Alice" has created folder "test-folder/sub-folder1" in the server

test/manual/test_plan/testplan.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,18 @@ Note: "Via Web" means check files on server in the web browser
177177
| 3 | Configure synchronization manually, a space | 1. Start the desktop client and fill in the server details<br>2. Check the advanced configuration checkbox<br>3. choose `Configure synchronization manually`<br>4. Connect the account<br>5. Choose "Cancel" in the next screen | - No local sync folder is created<br>- The setting window is opened and the account is registered | :robot: Win<br>:construction: macOS<br>:robot: Linux | tst_syncing |
178178

179179
### 11. Selective sync
180+
> [!NOTE]
181+
> Selective sync is not available on Windows due to VFS implemented by default.
180182
181183
| ID | Test Case | Steps to reproduce | Expected Result | Result | Related Comment (Squish-test) |
182184
|----|------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------|-------------------------------|
183-
| 1 | sync only one folder | 1. Upload some files and folders to the server<br>2. add an account to the desktop client with manual sync configuration<br>3. Choose the personal space to be synced<br>4. choose a local folder<br>5. Select only one folder to be synced and add the connection | Only one folder is synced | :robot: Win<br>:construction: macOS<br>:robot: Linux | tst_syncing |
184-
| 3 | unselected subfolders | 1. Upload a folder that has many subfolders to the server<br>2. Connect the desktop client and sync the personal space<br>From the `...` button for the space select "Chose what to sync" window, select the folder that has many subfolders<br>3. Extend that folder and unselect some subfolders<br>3. Click "OK" | The parent folder is synced but not the unselected subfolders | :robot: Win<br>:construction: macOS<br>:robot: Linux | tst_syncing |
185-
| 4 | Folder without subfolder in the list | 1. From the `Deselect remote folders...` window, click on the `>` for a folder that does not have subfolders | the `>` disappears | :construction: Win<br>:construction: macOS<br>:construction: Linux | |
186-
| 5 | sync files both ways for selected folder | 1. From the `Deselect remote folders...` window, select a folder to sync and add the connection<br>2. Upload some files via webUI into that folder<br>3. Copy some other files into the corresponding local folder<br>4. Wait for sync | Files are synced both ways | :construction: Win<br>:construction: macOS<br>:construction: Linux | |
187-
| 6 | sync files for unselected folder | 1. From the `Deselect remote folders...` window, unselect a folder and add connection<br>2. From the server, upload some files in that unselected folder | The folder and files are not available in the sync folder<br>Previously synced folders are deleted | :construction: Win<br>:construction: macOS<br>:robot: Linux | tst-syncing |
188-
| 10 | sync of files in root folder | 1. From the `Deselect remote folders...` window, unselect all the folders<br>2. Add the connection | files that are in the root folder are synced | :construction: Win<br>:construction: macOS<br>:construction: Linux | |
189-
| 11 | sorting of folders | 1. In the `Deselect remote folders...` window, sort the folders by name and size | Sorting works | :robot: Win<br>:construction: macOS<br>:robot: Linux | tst_syncing |
185+
| 1 | sync only one folder | 1. Upload some files and folders to the server<br>2. add an account to the desktop client with manual sync configuration<br>3. Choose the personal space to be synced<br>4. choose a local folder<br>5. Select only one folder to be synced and add the connection | Only one folder is synced | :construction: macOS<br>:robot: Linux | tst_syncing |
186+
| 2 | unselected subfolders | 1. Upload a folder that has many subfolders to the server<br>2. Connect the desktop client and sync the personal space<br>From the `...` button for the space select "Chose what to sync" window, select the folder that has many subfolders<br>3. Extend that folder and unselect some subfolders<br>3. Click "OK" | The parent folder is synced but not the unselected subfolders | :construction: macOS<br>:robot: Linux | tst_syncing |
187+
| 3 | Folder without subfolder in the list | 1. From the `Deselect remote folders...` window, click on the `>` for a folder that does not have subfolders | the `>` disappears | :construction: macOS<br>:construction: Linux | |
188+
| 4 | sync files both ways for selected folder | 1. From the `Deselect remote folders...` window, select a folder to sync and add the connection<br>2. Upload some files via webUI into that folder<br>3. Copy some other files into the corresponding local folder<br>4. Wait for sync | Files are synced both ways | :construction: macOS<br>:construction: Linux | |
189+
| 5 | sync files for unselected folder | 1. From the `Deselect remote folders...` window, unselect a folder and add connection<br>2. From the server, upload some files in that unselected folder | The folder and files are not available in the sync folder<br>Previously synced folders are deleted | :construction: macOS<br>:robot: Linux | tst-syncing |
190+
| 6 | sync of files in root folder | 1. From the `Deselect remote folders...` window, unselect all the folders<br>2. Add the connection | files that are in the root folder are synced | :construction: macOS<br>:construction: Linux | |
191+
| 7 | sorting of folders | 1. In the `Deselect remote folders...` window, sort the folders by name and size | Sorting works | :construction: macOS<br>:robot: Linux | tst_syncing |
190192

191193
### 12. Overlay icons
192194

0 commit comments

Comments
 (0)