summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/app-files.feature
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/features/app-files.feature')
-rw-r--r--tests/acceptance/features/app-files.feature23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/acceptance/features/app-files.feature b/tests/acceptance/features/app-files.feature
index 7d216ffc1f4..dc2b52f39d7 100644
--- a/tests/acceptance/features/app-files.feature
+++ b/tests/acceptance/features/app-files.feature
@@ -140,6 +140,29 @@ Feature: app-files
Then I see that the current section is "Deleted files"
Then I see that the file list contains a file named "welcome.txt"
+ Scenario: move a file to another folder
+ Given I am logged in
+ And I create a new folder named "Destination"
+ When I start the move or copy operation for "welcome.txt"
+ And I select "Destination" in the file picker
+ And I move to the last selected folder in the file picker
+ Then I see that the file list does not contain a file named "welcome.txt"
+ And I enter in the folder named "Destination"
+ And I see that the file list contains a file named "welcome.txt"
+
+ Scenario: copy a file to another folder
+ Given I am logged in
+ And I create a new folder named "Destination"
+ When I start the move or copy operation for "welcome.txt"
+ And I select "Destination" in the file picker
+ And I copy to the last selected folder in the file picker
+ Then I enter in the folder named "Destination"
+ # The file will appear in the destination once the copy operation finishes
+ And I see that the file list contains a file named "welcome.txt"
+ # The Files app is open again to reload the file list in the root folder
+ And I open the Files app
+ And I see that the file list contains a file named "welcome.txt"
+
Scenario: rename a file with the details view open
Given I am logged in
And I open the details view for "welcome.txt"