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 Mar 1, 2023
1 parent 8d18749 commit 5da135f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion test/gui/tst_moveFilesFolders/test.feature
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,16 @@ 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 a file and a 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 the files to sync
Then as "Alice" file "lorem.txt" should exist on the server
And as "Alice" folder "FOLDER" should exist on the server
But as "Alice" file "textfile.txt" should not exist on the server
And as "Alice" folder "folder1" should not exist on the server

0 comments on commit 5da135f

Please sign in to comment.