From 09683430614ca873d5cba831a8a06f296a71c897 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Mon, 8 Apr 2019 11:20:26 +0200 Subject: [PATCH] Add acceptance test for public folder navigation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .../features/app-files-sharing-link.feature | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tests/acceptance/features/app-files-sharing-link.feature b/tests/acceptance/features/app-files-sharing-link.feature index 19f38ecc7fb..c35338fea28 100644 --- a/tests/acceptance/features/app-files-sharing-link.feature +++ b/tests/acceptance/features/app-files-sharing-link.feature @@ -37,6 +37,26 @@ Feature: app-files-sharing-link And I open the Share menu And I see that the Share menu is shown + Scenario: open a subfolder in a public shared folder + Given I act as John + And I am logged in + And I create a new folder named "Shared folder with subfolders" + And I enter in the folder named "Shared folder with subfolders" + And I create a new folder named "Subfolder" + And I enter in the folder named "Subfolder" + And I create a new folder named "Subsubfolder" + And I see that the file list contains a file named "Subsubfolder" + # The Files app is open again to reload the file list + And I open the Files app + And I share the link for "Shared folder with subfolders" + And I write down the shared link + When I act as Jane + And I visit the shared link I wrote down + And I see that the current page is the shared link I wrote down + Then I see that the file list contains a file named "Subfolder" + And I enter in the folder named "Subfolder" + And I see that the file list contains a file named "Subsubfolder" + Scenario: creation is not possible by default in a public shared folder Given I act as John And I am logged in -- 2.39.5