From 89835a2b9dc3a38f9d7f73e89551eed06c58706f Mon Sep 17 00:00:00 2001 From: Deyan Zhekov Date: Fri, 11 Apr 2025 16:20:42 +0300 Subject: [PATCH] Remove Given steps for the Scenario Reduce the total steps for the following scenario: - user gets in-app and email notifications when space membership expires --- .../apiNotification/spaceNotification.feature | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/tests/acceptance/features/apiNotification/spaceNotification.feature b/tests/acceptance/features/apiNotification/spaceNotification.feature index b1614c37650..33861f655df 100644 --- a/tests/acceptance/features/apiNotification/spaceNotification.feature +++ b/tests/acceptance/features/apiNotification/spaceNotification.feature @@ -277,23 +277,16 @@ Feature: Notification @issue-10882 @email Scenario: user gets in-app and email notifications when space membership expires - Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "new-space" with the default quota using the Graph API - And user "Alice" has sent the following space share invitation: - | space | new-space | - | sharee | Brian | - | shareType | user | - | permissionsRole | Space Viewer | - When user "Alice" has expired the membership of user "Brian" from space "new-space" + When user "Alice" has expired the membership of user "Brian" from space "notification checking" Then the HTTP status code should be "200" And user "Brian" should get a notification with subject "Membership expired" and message: - | message | - | Access to Space new-space lost | - And user "Brian" should have received the following email from user "Alice" about the share of project space "new-space" + | message | + | Access to Space notification checking lost | + And user "Brian" should have received the following email from user "Alice" about the share of project space "notification checking" """ Hello Brian Murphy, - Your membership of space new-space has expired at %expiry_date_in_mail% + Your membership of space notification checking has expired at %expiry_date_in_mail% Even though this membership has expired you still might have access through other shares and/or space memberships """