diff options
Diffstat (limited to 'tests/acceptance/features/app-files.feature')
-rw-r--r-- | tests/acceptance/features/app-files.feature | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/acceptance/features/app-files.feature b/tests/acceptance/features/app-files.feature index 7adc618e02e..6779b37e145 100644 --- a/tests/acceptance/features/app-files.feature +++ b/tests/acceptance/features/app-files.feature @@ -1,5 +1,28 @@ Feature: app-files + Scenario: viewing a favorite file in its folder closes the details view + Given I am logged in + And I mark "welcome.txt" as favorite + And I see that "welcome.txt" is marked as favorite + And I open the "Favorites" section + And I open the details view for "welcome.txt" + And I see that the details view for "Favorites" section is open + When I view "welcome.txt" in folder + Then I see that the current section is "All files" + And I see that the details view is closed + + Scenario: viewing a favorite file in its folder does not prevent opening the details view in "All files" section + Given I am logged in + And I mark "welcome.txt" as favorite + And I see that "welcome.txt" is marked as favorite + And I open the "Favorites" section + And I open the details view for "welcome.txt" + And I see that the details view for "Favorites" section is open + And I view "welcome.txt" in folder + And I see that the current section is "All files" + When I open the details view for "welcome.txt" + Then I see that the details view for "All files" section is open + Scenario: set a password to a shared link Given I am logged in And I share the link for "welcome.txt" |