Skip to content

Commit

Permalink
add test scenario for renaming file and folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Salipa-Gurung committed Feb 27, 2023
1 parent fa40523 commit ac31085
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion test/gui/tst_moveFilesFolders/test.feature
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,15 @@ Feature: move file and folder
And as "Alice" folder "folder1/folder2/folder3/folder4/folder5/test-folder2" should exist on the server
And as "Alice" file "testFile.txt" should not exist on the server
And as "Alice" folder "test-folder1" should not exist on the server
And as "Alice" folder "test-folder2" should not exist on the server
And as "Alice" folder "test-folder2" should not exist on the server


Scenario: Rename file and folder
Given user "Alice" has uploaded file with content "test file 1" to "textfile.txt" on the server
And user "Alice" has set up a client with default settings
When the user renames a file "textfile.txt" to "lorem.txt"
And the user renames a folder "folder1" to "FOLDER"
And the user waits for file "lorem.txt" to be synced
And the user waits for folder "FOLDER" to be synced
Then as "Alice" file "lorem.txt" should exist on the server
And as "Alice" folder "FOLDER" should exist on the server

0 comments on commit ac31085

Please sign in to comment.