diff --git a/tests/acceptance/features/apiSharingNg/enableDisableShareSync.feature b/tests/acceptance/features/apiSharingNg/enableDisableShareSync.feature index 8556d9a8d2d..40064217aac 100644 --- a/tests/acceptance/features/apiSharingNg/enableDisableShareSync.feature +++ b/tests/acceptance/features/apiSharingNg/enableDisableShareSync.feature @@ -20,6 +20,7 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | + And user "Brian" has a share "" synced When user "Brian" disables sync of share "" using the Graph API Then the HTTP status code should be "204" When user "Brian" lists the shares shared with him using the Graph API @@ -141,6 +142,7 @@ Feature: enable or disable sync of incoming shares | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | + And user "Alice" has a share "" synced When user "Alice" disables sync of share "" using the Graph API Then the HTTP status code should be "204" And user "Alice" should have sync disabled for share "" @@ -196,6 +198,7 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | + And user "Brian" has a share "" synced When user "Brian" disables sync of share "" using the Graph API Then the HTTP status code should be "204" When user "Brian" lists the shares shared with him using the Graph API @@ -289,6 +292,7 @@ Feature: enable or disable sync of incoming shares | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | + And user "Alice" has a share "" synced When user "Alice" disables sync of share "" using the Graph API Then the HTTP status code should be "204" And user "Alice" should have sync disabled for share "" @@ -766,6 +770,7 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | + And user "Brian" has a share "" synced When user "Brian" enables sync of share "" offered by "Alice" from "Personal" space using the Graph API Then the HTTP status code should be "409" And the JSON data of the response should match @@ -867,6 +872,7 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | + And user "Brian" has a share "" synced When user "Brian" enables sync of share "" offered by "Alice" from "NewSpace" space using the Graph API Then the HTTP status code should be "409" And the JSON data of the response should match diff --git a/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature index 82607f0b03a..5a5835aafce 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature @@ -192,6 +192,7 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | + And user "Brian" has a share "folder" synced When user "Brian" copies a file "Shares/folder/sub-folder/test.txt" into "Shares/folder" inside space "Shares" using file-id path "" Then the HTTP status code should be "201" And for user "Brian" folder "folder" of the space "Shares" should contain these files: @@ -219,6 +220,7 @@ Feature: copying file using file id | permissionsRole | Editor | And user "Brian" has uploaded file with content "some data" to "/test.txt" And we save it into "FILEID" + And user "Brian" has a share "folder" synced When user "Brian" copies a file "/test.txt" into "Shares/folder" inside space "Shares" using file-id path "" Then the HTTP status code should be "201" And for user "Brian" folder "folder" of the space "Shares" should contain these files: @@ -244,6 +246,7 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | + And user "Brian" has a share "folder" synced When user "Brian" copies a file "/test.txt" into "/" inside space "Personal" using file-id path "" Then the HTTP status code should be "201" And for user "Brian" folder "folder" of the space "Shares" should contain these files: