From cf4b0c9e2bf0fb7019267974dff786472b1cccce Mon Sep 17 00:00:00 2001 From: prajwol Date: Thu, 15 Feb 2024 16:53:47 +0545 Subject: [PATCH] added step to share file with same name --- .../features/smoke/shares/share.feature | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/tests/e2e/cucumber/features/smoke/shares/share.feature b/tests/e2e/cucumber/features/smoke/shares/share.feature index 4d5053b1af3..a6d03c4164c 100644 --- a/tests/e2e/cucumber/features/smoke/shares/share.feature +++ b/tests/e2e/cucumber/features/smoke/shares/share.feature @@ -168,23 +168,34 @@ Feature: share And "Alice" creates the following folder in personal space using API | name | | test-folder | + And "Alice" creates the following files into personal space using API + | pathToFile | content | + | testfile.txt | example text | And "Alice" opens the "files" app And "Alice" shares the following resource using the sidebar panel | resource | recipient | type | role | + | testfile.txt | Brian | user | Can view | | test-folder | Brian | user | Can view | And "Alice" logs out And "Carol" logs in And "Carol" creates the following folder in personal space using API | name | | test-folder | + And "Carol" creates the following files into personal space using API + | pathToFile | content | + | testfile.txt | example text | And "Carol" opens the "files" app And "Carol" shares the following resource using the sidebar panel - | resource | recipient | type | role | - | test-folder | Brian | user | Can view | + | resource | recipient | type | role | + | testfile.txt | Brian | user | Can view | + | test-folder | Brian | user | Can view | And "Carol" logs out When "Brian" navigates to the shared with me page Then following resources should be displayed in the Shares for user "Brian" - | resource | - | test-folder | - | test-folder (1) | + | resource | + | testfile.txt | + | testfile (1).txt | + # https://github.com/owncloud/ocis/issues/8471 + # | test-folder | + # | test-folder (1) | And "Brian" logs out