Skip to content

Commit 09ce064

Browse files
committed
test: selective sync for root level file
1 parent 1b1f6fb commit 09ce064

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

test/gui/tst_syncing/test.feature

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,3 +580,27 @@ Feature: Syncing files
580580
When user "Alice" uploads file with content "some content" to "test-folder/sub-folder2/lorem.txt" in the server
581581
And the user waits for the files to sync
582582
Then the file "test-folder/sub-folder2/lorem.txt" should not exist on the file system
583+
584+
@skipOnWindows
585+
Scenario: Only root level files sync when all folders are unselected
586+
Given user "Alice" has created folder "test-folder" in the server
587+
And user "Alice" has created folder "test-folder/sub-folder1" in the server
588+
And user "Alice" has created folder "test-folder/sub-folder2" in the server
589+
And user "Alice" has uploaded file with content "root file content" to "root-file.txt" in the server
590+
And user "Alice" has uploaded file with content "some subfolder content" to "test-folder/sub-folder1/lorem.txt" in the server
591+
And the user has started the client
592+
And the user has entered the following account information:
593+
| server | %local_server% |
594+
| user | Alice |
595+
| password | 1234 |
596+
When the user selects manual sync folder option in advanced section
597+
And the user sets the sync path in sync connection wizard
598+
And the user selects "Personal" space in sync connection wizard
599+
And user unselects all the remote folders
600+
And the user adds the folder sync connection
601+
And the user waits for the files to sync
602+
Then the folder "test-folder/sub-folder1" should not exist on the file system
603+
And the folder "test-folder/sub-folder2" should not exist on the file system
604+
And the file "test-folder/sub-folder1/lorem.txt" should not exist on the file system
605+
But the file "root-file.txt" should exist on the file system
606+

0 commit comments

Comments
 (0)