From 0c45e74785321d85e594a4160fd68d9b307904a5 Mon Sep 17 00:00:00 2001 From: Viktor Scharf Date: Wed, 24 Sep 2025 11:29:53 +0200 Subject: [PATCH] apiTest-flaky: stnc share before checking --- .../shareInvitations.feature | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/acceptance/features/apiSharingNgShareInvitation/shareInvitations.feature b/tests/acceptance/features/apiSharingNgShareInvitation/shareInvitations.feature index 2d033f9b4..55813fcb6 100644 --- a/tests/acceptance/features/apiSharingNgShareInvitation/shareInvitations.feature +++ b/tests/acceptance/features/apiSharingNgShareInvitation/shareInvitations.feature @@ -23,6 +23,7 @@ Feature: Send a sharing invitations | shareType | user | | permissionsRole | | Then the HTTP status code should be "200" + And user "Brian" has a share "" synced And user "Brian" should have a share "" shared by user "Alice" from space "Personal" And the JSON data of the response should match """ @@ -113,7 +114,9 @@ Feature: Send a sharing invitations | shareType | group | | permissionsRole | | Then the HTTP status code should be "200" + And user "Brian" has a share "" synced And user "Brian" should have a share "" shared by user "Alice" from space "Personal" + And user "Carol" has a share "" synced And user "Carol" should have a share "" shared by user "Alice" from space "Personal" And the JSON data of the response should match """ @@ -1998,6 +2001,7 @@ Feature: Send a sharing invitations | shareType | user | | permissionsRole | | Then the HTTP status code should be "200" + And user "Brian" has a share "" synced And user "Brian" should have a share "" shared by user "Alice" from space "NewSpace" And the JSON data of the response should match """ @@ -2086,7 +2090,9 @@ Feature: Send a sharing invitations | shareType | group | | permissionsRole | | Then the HTTP status code should be "200" + And user "Brian" has a share "" synced And user "Brian" should have a share "" shared by user "Alice" from space "NewSpace" + And user "Carol" has a share "" synced And user "Carol" should have a share "" shared by user "Alice" from space "NewSpace" And the JSON data of the response should match """ @@ -3122,6 +3128,7 @@ Feature: Send a sharing invitations | shareType | user | | permissionsRole | Viewer | Then the HTTP status code should be "200" + And user "Brian" has a share "textfile.txt" synced And user "Brian" should have a share "textfile.txt" shared by user "Alice" from space "Personal" When user "Alice" sends the following resource share invitation using the Graph API: | resource | textfile.txt | @@ -3130,6 +3137,7 @@ Feature: Send a sharing invitations | shareType | group | | permissionsRole | Viewer | Then the HTTP status code should be "200" + And user "Carol" has a share "textfile.txt" synced And user "Carol" should have a share "textfile.txt" shared by user "Alice" from space "Personal" @@ -3146,6 +3154,7 @@ Feature: Send a sharing invitations | shareType | group | | permissionsRole | Viewer | Then the HTTP status code should be "200" + And user "Brian" has a share "textfile.txt" synced And user "Brian" should have a share "textfile.txt" shared by user "Alice" from space "Personal" @@ -3166,6 +3175,7 @@ Feature: Send a sharing invitations | shareType | user | | permissionsRole | Viewer | Then the HTTP status code should be "200" + And user "Brian" has a share "textfile.txt" synced And user "Brian" should have a share "textfile.txt" shared by user "Alice" from space "NewSpace" When user "Alice" sends the following resource share invitation using the Graph API: | resource | textfile.txt | @@ -3174,6 +3184,7 @@ Feature: Send a sharing invitations | shareType | group | | permissionsRole | Viewer | Then the HTTP status code should be "200" + And user "Carol" has a share "textfile.txt" synced And user "Carol" should have a share "textfile.txt" shared by user "Alice" from space "NewSpace" @@ -3193,4 +3204,5 @@ Feature: Send a sharing invitations | shareType | group | | permissionsRole | Viewer | Then the HTTP status code should be "200" + And user "Brian" has a share "textfile.txt" synced And user "Brian" should have a share "textfile.txt" shared by user "Alice" from space "NewSpace"