From 8a9bb522c15d1a7ef5375699577d8eeb5d7205dc Mon Sep 17 00:00:00 2001 From: Sabin Date: Fri, 29 Sep 2023 17:41:35 +0545 Subject: [PATCH] refactoring the feature file steps --- .../features/apiAntivirus/antivirus.feature | 10 ++-- .../features/apiContract/copy.feature | 2 +- .../features/apiContract/propfind.feature | 2 +- .../features/apiContract/spacesReport.feature | 2 +- .../apiContract/spacesSharesReport.feature | 2 +- .../features/apiDownloads/download.feature | 2 +- .../apiDownloads/spaceDownload.feature | 2 +- .../features/apiGraph/deleteUser.feature | 2 +- .../features/apiGraph/userGDPRExport.feature | 4 +- .../apiNotification/emailNotification.feature | 8 +-- .../apiNotification/spaceNotification.feature | 2 +- .../features/apiReshare/resharing.feature | 4 +- .../features/apiSearch/apiSpaceSearch.feature | 2 +- .../features/apiSearch/contentSearch.feature | 6 +-- .../features/apiSearch/tagSearch.feature | 6 +-- .../apiSpaces/disableAndDeleteSpaces.feature | 2 +- .../apiSpaces/editPublicLinkOfSpace.feature | 2 +- .../features/apiSpaces/filePreviews.feature | 2 +- .../features/apiSpaces/listSpaces.feature | 16 +++--- .../features/apiSpaces/publicLink.feature | 2 +- .../features/apiSpaces/quota.feature | 2 +- .../apiSpaces/removeSpaceObjects.feature | 2 +- .../apiSpaces/spaceManagement.feature | 6 +-- .../acceptance/features/apiSpaces/tag.feature | 32 ++++++------ .../features/apiSpaces/trashBin.feature | 2 +- .../copyByFileId.feature | 8 +-- .../getFileByFileId.feature | 4 +- .../moveByFileId.feature | 8 +-- .../propfindByFileId.feature | 6 +-- .../updateFileByFileId.feature | 4 +- .../apiSpacesShares/copySpaces.feature | 50 +++++++++---------- .../apiSpacesShares/moveSpaces.feature | 16 +++--- .../publicLinkDownload.feature | 2 +- .../apiSpacesShares/shareSpaces.feature | 30 +++++------ .../shareSpacesViaLink.feature | 2 +- .../shareSubItemOfSpace.feature | 6 +-- .../shareSubItemOfSpaceViaPublicLink.feature | 2 +- .../features/bootstrap/GraphContext.php | 2 +- .../features/bootstrap/SpacesContext.php | 14 +++--- .../features/bootstrap/TagContext.php | 2 +- 40 files changed, 140 insertions(+), 140 deletions(-) diff --git a/tests/acceptance/features/apiAntivirus/antivirus.feature b/tests/acceptance/features/apiAntivirus/antivirus.feature index 01c4a060cc3..148462e2d32 100644 --- a/tests/acceptance/features/apiAntivirus/antivirus.feature +++ b/tests/acceptance/features/apiAntivirus/antivirus.feature @@ -222,7 +222,7 @@ Feature: antivirus Scenario Outline: upload a file with virus to a project space Given using spaces DAV path And 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has created a folder "uploadFolder" in space "new-space" When user "Alice" uploads a file "filesForUpload/filesWithVirus/" to "/uploadFolder/" in space "new-space" using the WebDAV API Then the HTTP status code should be "201" @@ -248,7 +248,7 @@ Feature: antivirus Given using spaces DAV path And user "Brian" has been created with default attributes and without skeleton files And 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has shared a space "new-space" with settings: | shareWith | Brian | | role | editor | @@ -469,7 +469,7 @@ Feature: antivirus Scenario: try to overwrite the .space/readme.md file Given using spaces DAV path And 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has created a folder ".space" in space "new-space" And user "Alice" has uploaded a file inside space "new-space" with content "Here you can add a description for this Space." to ".space/readme.md" When user "Alice" uploads a file inside space "new-space" with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" to ".space/readme.md" using the WebDAV API @@ -484,7 +484,7 @@ Feature: antivirus Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API And user "Brian" has been created with default attributes and without skeleton files - And user "Alice" has created a space "new-space" with the default quota using the GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has shared a space "new-space" with settings: | shareWith | Brian | | role | editor | @@ -504,7 +504,7 @@ Feature: antivirus Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API And user "Brian" has been created with default attributes and without skeleton files - And user "Alice" has created a space "new-space" with the default quota using the GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has shared a space "new-space" with settings: | shareWith | Brian | | role | editor | diff --git a/tests/acceptance/features/apiContract/copy.feature b/tests/acceptance/features/apiContract/copy.feature index 6dc8e74faef..5bf61391e8d 100644 --- a/tests/acceptance/features/apiContract/copy.feature +++ b/tests/acceptance/features/apiContract/copy.feature @@ -10,7 +10,7 @@ Feature: Copy test | Alice | And using spaces DAV path And 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API Scenario: check the COPY response headers diff --git a/tests/acceptance/features/apiContract/propfind.feature b/tests/acceptance/features/apiContract/propfind.feature index 5e6051c421e..200ea281c53 100644 --- a/tests/acceptance/features/apiContract/propfind.feature +++ b/tests/acceptance/features/apiContract/propfind.feature @@ -10,7 +10,7 @@ Feature: Propfind test | Brian | And using spaces DAV path And 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API Scenario: space-admin checks the PROPFIND request of a space diff --git a/tests/acceptance/features/apiContract/spacesReport.feature b/tests/acceptance/features/apiContract/spacesReport.feature index 4693e4a2f92..36104d09f9b 100644 --- a/tests/acceptance/features/apiContract/spacesReport.feature +++ b/tests/acceptance/features/apiContract/spacesReport.feature @@ -10,7 +10,7 @@ Feature: REPORT request to project space | Brian | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "findData" with the default quota using the GraphApi + And user "Alice" has created a space "findData" with the default quota using the Graph API Scenario: check the response of the searched file diff --git a/tests/acceptance/features/apiContract/spacesSharesReport.feature b/tests/acceptance/features/apiContract/spacesSharesReport.feature index bcf74b32d78..32458097e3b 100644 --- a/tests/acceptance/features/apiContract/spacesSharesReport.feature +++ b/tests/acceptance/features/apiContract/spacesSharesReport.feature @@ -13,7 +13,7 @@ Feature: Report test | Brian | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "find data" with the default quota using the GraphApi + And user "Alice" has created a space "find data" with the default quota using the Graph API And user "Alice" has created a folder "folderMain/SubFolder1/subFOLDER2" in space "find data" And user "Alice" has uploaded a file inside space "find data" with content "some content" to "folderMain/SubFolder1/subFOLDER2/insideTheFolder.txt" And using new DAV path diff --git a/tests/acceptance/features/apiDownloads/download.feature b/tests/acceptance/features/apiDownloads/download.feature index 68fa2ba9c7d..599329176dd 100644 --- a/tests/acceptance/features/apiDownloads/download.feature +++ b/tests/acceptance/features/apiDownloads/download.feature @@ -14,7 +14,7 @@ Feature: Download file in project space | Bob | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "download file" with the default quota using the GraphApi + And user "Alice" has created a space "download file" with the default quota using the Graph API And user "Alice" has uploaded a file inside space "download file" with content "some content" to "file.txt" And user "Alice" has shared a space "download file" with settings: | shareWith | Brian | diff --git a/tests/acceptance/features/apiDownloads/spaceDownload.feature b/tests/acceptance/features/apiDownloads/spaceDownload.feature index 04fd930dc7a..3d559023032 100644 --- a/tests/acceptance/features/apiDownloads/spaceDownload.feature +++ b/tests/acceptance/features/apiDownloads/spaceDownload.feature @@ -11,7 +11,7 @@ Feature: Download space | Brian | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "Project-space" with the default quota using the GraphApi + And user "Alice" has created a space "Project-space" with the default quota using the Graph API And user "Alice" has uploaded a file inside space "Project-space" with content "some data" to "file1.txt" And user "Alice" has created a folder ".space" in space "Project-space" And user "Alice" has uploaded a file inside space "Project-space" with content "space description" to ".space/readme.md" diff --git a/tests/acceptance/features/apiGraph/deleteUser.feature b/tests/acceptance/features/apiGraph/deleteUser.feature index 95787bbb9d0..ce96c6b9c8d 100644 --- a/tests/acceptance/features/apiGraph/deleteUser.feature +++ b/tests/acceptance/features/apiGraph/deleteUser.feature @@ -149,7 +149,7 @@ Feature: delete user And user "Brian" has been created with default attributes and without skeleton files When the user "Alice" deletes a user "Brian" using the Graph API Then the HTTP status code should be "204" - When user "Alice" lists all spaces via the GraphApi with query "$filter=driveType eq 'personal'" + When user "Alice" lists all spaces via the Graph API with query "$filter=driveType eq 'personal'" Then the json responded should not contain a space with name "Brian Murphy" diff --git a/tests/acceptance/features/apiGraph/userGDPRExport.feature b/tests/acceptance/features/apiGraph/userGDPRExport.feature index 767807822cb..68fe9d0ae7a 100644 --- a/tests/acceptance/features/apiGraph/userGDPRExport.feature +++ b/tests/acceptance/features/apiGraph/userGDPRExport.feature @@ -855,7 +855,7 @@ Feature: user GDPR (General Data Protection Regulation) report Scenario: generate a GDPR report and check events when a space is shared Given user "Brian" has been created with default attributes and without skeleton files And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "GDPR Space" with the default quota using the GraphApi + And user "Alice" has created a space "GDPR Space" with the default quota using the Graph API And user "Alice" has shared a space "GDPR Space" with settings: | shareWith | Brian | | role | viewer | @@ -958,7 +958,7 @@ Feature: user GDPR (General Data Protection Regulation) report Scenario: generate a GDPR report and check events when a space is created Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "GDPR Space" with the default quota using the GraphApi + And user "Alice" has created a space "GDPR Space" with the default quota using the Graph API When user "Alice" exports her GDPR report to "/.personal_data_export.json" using the Graph API And user "Alice" downloads the content of GDPR report ".personal_data_export.json" Then the HTTP status code of responses on each endpoint should be "201, 200" respectively diff --git a/tests/acceptance/features/apiNotification/emailNotification.feature b/tests/acceptance/features/apiNotification/emailNotification.feature index 09b610a86a5..4c156386c3a 100644 --- a/tests/acceptance/features/apiNotification/emailNotification.feature +++ b/tests/acceptance/features/apiNotification/emailNotification.feature @@ -13,7 +13,7 @@ Feature: Email notification Scenario: user gets an email notification when someone shares a project space 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API When user "Alice" shares a space "new-space" with settings: | shareWith | Brian | | role | Editor | @@ -49,7 +49,7 @@ Feature: Email notification And group "group1" has been created And user "Brian" has been added to group "group1" And user "Carol" has been added to group "group1" - And user "Alice" has created a space "new-space" with the default quota using the GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API When user "Alice" shares a space "new-space" with settings: | shareWith | group1 | | shareType | 8 | @@ -139,7 +139,7 @@ Feature: Email notification And user "Carol" has been added to group "group1" And user "Brian" has switched the system language to "es" And user "Carol" has switched the system language to "de" - And user "Alice" has created a space "new-space" with the default quota using the GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API When user "Alice" has shared a space "new-space" with settings: | shareWith | group1 | | role | viewer | @@ -164,7 +164,7 @@ Feature: Email notification Scenario: user gets an email notification when space admin unshares a space 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has shared a space "new-space" with settings: | shareWith | Brian | | role | editor | diff --git a/tests/acceptance/features/apiNotification/spaceNotification.feature b/tests/acceptance/features/apiNotification/spaceNotification.feature index 889f536ffcd..f8d7bd8f21f 100644 --- a/tests/acceptance/features/apiNotification/spaceNotification.feature +++ b/tests/acceptance/features/apiNotification/spaceNotification.feature @@ -10,7 +10,7 @@ Feature: Notification | Brian | | Carol | And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "notification checking" with the default quota using the GraphApi + And user "Alice" has created a space "notification checking" with the default quota using the Graph API Scenario: get a notification of space shared diff --git a/tests/acceptance/features/apiReshare/resharing.feature b/tests/acceptance/features/apiReshare/resharing.feature index b0d9a07cec2..aa110f37ace 100644 --- a/tests/acceptance/features/apiReshare/resharing.feature +++ b/tests/acceptance/features/apiReshare/resharing.feature @@ -115,8 +115,8 @@ Feature: Resharing Scenario Outline: resharing with group with different permissions Given group "security department" has been created - And the administrator has added a user "Ember" to the group "security department" using GraphApi - And the administrator has added a user "Fred" to the group "security department" using GraphApi + And the administrator has added a user "Ember" to the group "security department" using the Graph API + And the administrator has added a user "Fred" to the group "security department" using the Graph API When user "Brian" shares folder "Shares/folder" with group "security department" with permissions "" using the sharing API Then the OCS status code should be "100" When user "Ember" accepts share "/folder" offered by user "Brian" using the sharing API diff --git a/tests/acceptance/features/apiSearch/apiSpaceSearch.feature b/tests/acceptance/features/apiSearch/apiSpaceSearch.feature index a6784590c63..2d4e8445b89 100644 --- a/tests/acceptance/features/apiSearch/apiSpaceSearch.feature +++ b/tests/acceptance/features/apiSearch/apiSpaceSearch.feature @@ -13,7 +13,7 @@ Feature: Search | Brian | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "find data" with the default quota using the GraphApi + And user "Alice" has created a space "find data" with the default quota using the Graph API And user "Alice" has created a folder "folderMain/SubFolder1/subFOLDER2" in space "find data" And user "Alice" has uploaded a file inside space "find data" with content "some content" to "folderMain/SubFolder1/subFOLDER2/insideTheFolder.txt" diff --git a/tests/acceptance/features/apiSearch/contentSearch.feature b/tests/acceptance/features/apiSearch/contentSearch.feature index 14113c1dff7..f8a6575f7f7 100644 --- a/tests/acceptance/features/apiSearch/contentSearch.feature +++ b/tests/acceptance/features/apiSearch/contentSearch.feature @@ -105,7 +105,7 @@ Feature: content search Scenario Outline: search project space files by content Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has created a folder "spacesFolderWithFile/spacesSubFolder" in space "project-space" And user "Alice" has uploaded a file inside space "project-space" with content "hello world from nepal" to "keywordAtStart.txt" And user "Alice" has uploaded a file inside space "project-space" with content "saying hello to the world" to "spacesFolderWithFile/keywordAtMiddle.txt" @@ -129,7 +129,7 @@ Feature: content search Given using spaces DAV path And user "Brian" has been created with default attributes and without skeleton files And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has shared a space "project-space" with settings: | shareWith | Brian | | role | viewer | @@ -178,7 +178,7 @@ Feature: content search Scenario Outline: search across files with different format with search text highlight Given using DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has uploaded file with content "this is a simple text file" to "test-text-file.txt" And user "Alice" has uploaded file with content "this is a simple pdf file" to "test-pdf-file.pdf" And user "Alice" has uploaded file with content "this is a simple cpp file" to "test-cpp-file.cpp" diff --git a/tests/acceptance/features/apiSearch/tagSearch.feature b/tests/acceptance/features/apiSearch/tagSearch.feature index 301e1d25bb6..8e19cc8f836 100644 --- a/tests/acceptance/features/apiSearch/tagSearch.feature +++ b/tests/acceptance/features/apiSearch/tagSearch.feature @@ -39,7 +39,7 @@ Feature: tag search Scenario Outline: search project space files by tag Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "tag-space" with the default quota using the GraphApi + And user "Alice" has created a space "tag-space" with the default quota using the Graph API And user "Alice" has created a folder "spacesFolderWithFile/spacesSubFolder" in space "tag-space" And user "Alice" has uploaded a file inside space "tag-space" with content "tagged file" to "spacesFile.txt" And user "Alice" has uploaded a file inside space "tag-space" with content "untagged file" to "spacesFileWithoutTag.txt" @@ -92,7 +92,7 @@ Feature: tag search Scenario Outline: search project space folders by tag Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "tag-space" with the default quota using the GraphApi + And user "Alice" has created a space "tag-space" with the default quota using the Graph API And user "Alice" has created a folder "spacesFolder/spacesSubFolder" in space "tag-space" And user "Alice" has created a folder "unTagSpacesFolder/unTagSpacesSubFolder" in space "tag-space" And user "Alice" has tagged the following folders of the space "tag-space": @@ -149,7 +149,7 @@ Feature: tag search Given using spaces DAV path And user "Brian" has been created with default attributes and without skeleton files And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "tag-space" with the default quota using the GraphApi + And user "Alice" has created a space "tag-space" with the default quota using the Graph API And user "Alice" has shared a space "tag-space" with settings: | shareWith | Brian | | role | viewer | diff --git a/tests/acceptance/features/apiSpaces/disableAndDeleteSpaces.feature b/tests/acceptance/features/apiSpaces/disableAndDeleteSpaces.feature index 5ebb233873b..b0bb0f36e50 100644 --- a/tests/acceptance/features/apiSpaces/disableAndDeleteSpaces.feature +++ b/tests/acceptance/features/apiSpaces/disableAndDeleteSpaces.feature @@ -14,7 +14,7 @@ Feature: Disabling and deleting space | Bob | | Carol | And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "Project Moon" with the default quota using the GraphApi + And user "Alice" has created a space "Project Moon" with the default quota using the Graph API And user "Alice" has shared a space "Project Moon" with settings: | shareWith | Brian | | role | editor | diff --git a/tests/acceptance/features/apiSpaces/editPublicLinkOfSpace.feature b/tests/acceptance/features/apiSpaces/editPublicLinkOfSpace.feature index c6ca84816d2..860cdf55671 100644 --- a/tests/acceptance/features/apiSpaces/editPublicLinkOfSpace.feature +++ b/tests/acceptance/features/apiSpaces/editPublicLinkOfSpace.feature @@ -15,7 +15,7 @@ Feature: A manager of the space can edit public link | Brian | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "edit space" with the default quota using the GraphApi + And user "Alice" has created a space "edit space" with the default quota using the Graph API And user "Alice" has created a public link share of the space "edit space" with settings: | permissions | 1 | | password | qwerty | diff --git a/tests/acceptance/features/apiSpaces/filePreviews.feature b/tests/acceptance/features/apiSpaces/filePreviews.feature index bf79be4bc67..5ceeeab72fa 100644 --- a/tests/acceptance/features/apiSpaces/filePreviews.feature +++ b/tests/acceptance/features/apiSpaces/filePreviews.feature @@ -11,7 +11,7 @@ Feature: Preview file in project space | username | | Alice | And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "previews of the files" with the default quota using the GraphApi + And user "Alice" has created a space "previews of the files" with the default quota using the Graph API And using spaces DAV path diff --git a/tests/acceptance/features/apiSpaces/listSpaces.feature b/tests/acceptance/features/apiSpaces/listSpaces.feature index 1390176d5c9..20bf19e4e70 100644 --- a/tests/acceptance/features/apiSpaces/listSpaces.feature +++ b/tests/acceptance/features/apiSpaces/listSpaces.feature @@ -12,7 +12,7 @@ Feature: List and create spaces Scenario: ordinary user can request information about their Space via the Graph API - When user "Alice" lists all available spaces via the GraphApi + When user "Alice" lists all available spaces via the Graph API Then the HTTP status code should be "200" And the JSON response should contain space called "Alice Hansen" and match """ @@ -82,7 +82,7 @@ Feature: List and create spaces And user "Brian" has created folder "folder" And user "Brian" has shared folder "folder" with user "Alice" with permissions "31" And user "Alice" has accepted share "/folder" offered by user "Brian" - When user "Alice" lists all available spaces via the GraphApi with query "$filter=driveType eq 'personal'" + When user "Alice" lists all available spaces via the Graph API with query "$filter=driveType eq 'personal'" Then the HTTP status code should be "200" And the JSON response should contain space called "Alice Hansen" and match """ @@ -151,7 +151,7 @@ Feature: List and create spaces Scenario: ordinary user will not see any space when using a filter for project Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API And user "Alice" has created a space "my project" of type "project" with quota "20" - When user "Alice" lists all available spaces via the GraphApi with query "$filter=driveType eq 'project'" + When user "Alice" lists all available spaces via the Graph API with query "$filter=driveType eq 'project'" Then the HTTP status code should be "200" And the JSON response should contain space called "my project" and match """ @@ -182,13 +182,13 @@ Feature: List and create spaces Scenario: ordinary user can access their space via the webDav API - When user "Alice" lists all available spaces via the GraphApi + When user "Alice" lists all available spaces via the Graph API And user "Alice" lists the content of the space with the name "Alice Hansen" using the WebDav Api Then the HTTP status code should be "207" Scenario: user can list his personal space via multiple endpoints - When user "Alice" lists all available spaces via the GraphApi with query "$filter=driveType eq 'personal'" + When user "Alice" lists all available spaces via the Graph API with query "$filter=driveType eq 'personal'" Then the HTTP status code should be "200" And the JSON response should contain space called "Alice Hansen" owned by "Alice" and match """ @@ -245,7 +245,7 @@ Feature: List and create spaces } } """ - When user "Alice" looks up the single space "Alice Hansen" via the GraphApi by using its id + When user "Alice" looks up the single space "Alice Hansen" via the Graph API by using its id Then the HTTP status code should be "200" And the JSON response should contain space called "Alice Hansen" and match """ @@ -348,7 +348,7 @@ Feature: List and create spaces } } """ - When user "Alice" looks up the single space "Project Venus" via the GraphApi by using its id + When user "Alice" looks up the single space "Project Venus" via the Graph API by using its id Then the HTTP status code should be "200" And the JSON response should contain space called "Project Venus" and match """ @@ -419,7 +419,7 @@ Feature: List and create spaces Scenario Outline: user cannot list space by id if he is not member of the space Given the administrator has assigned the role "" to user "Alice" using the Graph API - And user "Admin" has created a space "Project Venus" with the default quota using the GraphApi + And user "Admin" has created a space "Project Venus" with the default quota using the Graph API When user "Alice" tries to look up the single space "Project Venus" owned by the user "Admin" by using its id Then the HTTP status code should be "404" And the json responded should not contain a space with name "Project Venus" diff --git a/tests/acceptance/features/apiSpaces/publicLink.feature b/tests/acceptance/features/apiSpaces/publicLink.feature index 8fe2bc8202b..18163f23b67 100644 --- a/tests/acceptance/features/apiSpaces/publicLink.feature +++ b/tests/acceptance/features/apiSpaces/publicLink.feature @@ -6,7 +6,7 @@ Feature: public link for a space | Alice | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "public space" with the default quota using the GraphApi + And user "Alice" has created a space "public space" with the default quota using the Graph API And user "Alice" has created a public link share of the space "public space" with settings: | permissions | 1 | diff --git a/tests/acceptance/features/apiSpaces/quota.feature b/tests/acceptance/features/apiSpaces/quota.feature index dc4510e8b56..89791108484 100644 --- a/tests/acceptance/features/apiSpaces/quota.feature +++ b/tests/acceptance/features/apiSpaces/quota.feature @@ -22,7 +22,7 @@ Feature: State of the quota Scenario Outline: quota information is returned in the list of spaces returned via the Graph API Given user "Alice" has created a space "" of type "project" with quota "100" When user "Alice" uploads a file inside space "" with content "" to "test.txt" using the WebDAV API - And user "Alice" lists all available spaces via the GraphApi + And user "Alice" lists all available spaces via the Graph API Then the JSON response should contain space called "" and match """ { diff --git a/tests/acceptance/features/apiSpaces/removeSpaceObjects.feature b/tests/acceptance/features/apiSpaces/removeSpaceObjects.feature index 2edb31e927e..c1040cb1b6c 100644 --- a/tests/acceptance/features/apiSpaces/removeSpaceObjects.feature +++ b/tests/acceptance/features/apiSpaces/removeSpaceObjects.feature @@ -13,7 +13,7 @@ Feature: Remove files, folder | Brian | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "delete objects" with the default quota using the GraphApi + And user "Alice" has created a space "delete objects" with the default quota using the Graph API And user "Alice" has created a folder "folderForDeleting/sub1/sub2" in space "delete objects" And user "Alice" has uploaded a file inside space "delete objects" with content "some content" to "text.txt" diff --git a/tests/acceptance/features/apiSpaces/spaceManagement.feature b/tests/acceptance/features/apiSpaces/spaceManagement.feature index d17165b0ad5..f904c6dd7f0 100644 --- a/tests/acceptance/features/apiSpaces/spaceManagement.feature +++ b/tests/acceptance/features/apiSpaces/spaceManagement.feature @@ -22,7 +22,7 @@ Feature: Space management Scenario: space admin user can see another project space even if he is not member of the space - When user "Brian" lists all spaces via the GraphApi with query "$filter=driveType eq 'project'" + When user "Brian" lists all spaces via the Graph API with query "$filter=driveType eq 'project'" Then the HTTP status code should be "200" And the JSON response should contain space called "Project" and match """ @@ -53,7 +53,7 @@ Feature: Space management Scenario: space admin user can see another personal spaces - When user "Brian" lists all spaces via the GraphApi with query "$filter=driveType eq 'personal'" + When user "Brian" lists all spaces via the Graph API with query "$filter=driveType eq 'personal'" Then the HTTP status code should be "200" And the JSON response should contain space called "Alice Hansen" and match """ @@ -84,7 +84,7 @@ Feature: Space management Scenario: user without space admin permission cannot see another spaces - When user "Carol" tries to list all spaces via the GraphApi + When user "Carol" tries to list all spaces via the Graph API Then the HTTP status code should be "200" And the json responded should not contain a space with name "Project" And the json responded should not contain a space with name "Alice Hansen" diff --git a/tests/acceptance/features/apiSpaces/tag.feature b/tests/acceptance/features/apiSpaces/tag.feature index f9ce87a35f6..a464bde8a5b 100644 --- a/tests/acceptance/features/apiSpaces/tag.feature +++ b/tests/acceptance/features/apiSpaces/tag.feature @@ -13,7 +13,7 @@ Feature: Tag | Brian | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "use-tag" with the default quota using the GraphApi + And user "Alice" has created a space "use-tag" with the default quota using the Graph API And user "Alice" has created a folder "folderMain" in space "use-tag" And user "Alice" has uploaded a file inside space "use-tag" with content "some content" to "folderMain/insideTheFolder.txt" @@ -39,13 +39,13 @@ Feature: Tag And the "PROPFIND" response should contain a space "use-tag" with these key and value pairs: | key | value | | oc:tags | fileTag | - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should contain following tags: | tag level#1 | | tag with symbols @^$#^%$@%!_+) | | fileTag | - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should contain following tags: | tag level#1 | @@ -74,7 +74,7 @@ Feature: Tag And the "PROPFIND" response to user "Alice" should contain a mountpoint "Alice Hansen" with these key and value pairs: | key | value | | oc:tags | fileTag,tag with symbol @^$#^%$@%!_+) | - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should contain following tags: | my tag | @@ -91,7 +91,7 @@ Feature: Tag | tag level#1 | | tag with symbols @^$#^%$@%!_+) | Then the HTTP status code should be "" - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response contain following tags: | tag level#1 | @@ -111,13 +111,13 @@ Feature: Tag | path | folderMain | | shareWith | Brian | | role | viewer | - When user "Brian" lists all available tags via the GraphApi + When user "Brian" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should not contain following tags: | folderTag | | marketing | When user "Brian" accepts share "/folderMain" offered by user "Alice" using the sharing API - And user "Brian" lists all available tags via the GraphApi + And user "Brian" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should contain following tags: | folderTag | @@ -134,7 +134,7 @@ Feature: Tag | tag in a shared resource | | second tag | Then the HTTP status code should be "" - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response contain following tags: | tag in a shared resource | @@ -162,7 +162,7 @@ Feature: Tag | tag in a shared resource | | second tag | Then the HTTP status code should be "" - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response contain following tags: | tag in a shared resource | @@ -201,7 +201,7 @@ Feature: Tag | folderTag | | marketing | Then the HTTP status code should be "200" - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should contain following tags: | development | @@ -216,7 +216,7 @@ Feature: Tag | marketing | When user "Alice" removes the folder "folderMain" from space "use-tag" Then the HTTP status code should be "204" - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should not contain following tags: | folderTag | @@ -228,14 +228,14 @@ Feature: Tag | folderTag | | marketing | And user "Alice" has disabled a space "use-tag" - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should not contain following tags: | folderTag | | marketing | When user "Alice" deletes a space "use-tag" Then the HTTP status code should be "204" - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should not contain following tags: | folderTag | @@ -249,7 +249,7 @@ Feature: Tag And user "Alice" has removed the folder "folderMain" from space "use-tag" When user "Alice" restores the folder "folderMain" from the trash of the space "use-tag" to "/folderMain" Then the HTTP status code should be "201" - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should contain following tags: | folderTag | @@ -276,7 +276,7 @@ Feature: Tag And the "PROPFIND" response should contain a space "use-tag" with these key and value pairs: | key | value | | oc:tags | file,नेपाल,Tag | - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should contain following tags: | finance | @@ -296,7 +296,7 @@ Feature: Tag And the "PROPFIND" response should contain a space "use-tag" with these key and value pairs: | key | value | | oc:tags | engineering,finance,hr,qa | - When user "Alice" lists all available tags via the GraphApi + When user "Alice" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should contain following tags: | engineering | diff --git a/tests/acceptance/features/apiSpaces/trashBin.feature b/tests/acceptance/features/apiSpaces/trashBin.feature index e4a15bb6d23..ed231711aef 100644 --- a/tests/acceptance/features/apiSpaces/trashBin.feature +++ b/tests/acceptance/features/apiSpaces/trashBin.feature @@ -13,7 +13,7 @@ Feature: Restore files, folder | Brian | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "restore objects" with the default quota using the GraphApi + And user "Alice" has created a space "restore objects" with the default quota using the Graph API And user "Alice" has created a folder "newFolder" in space "restore objects" And user "Alice" has uploaded a file inside space "restore objects" with content "test" to "newFolder/file.txt" diff --git a/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature index b0d1aed3eee..94146e278eb 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature @@ -77,7 +77,7 @@ Feature: copying file using file id Scenario Outline: copy a file into a folder in project space Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has created a folder "/folder" in space "project-space" And user "Alice" has uploaded a file inside space "project-space" with content "some data" to "textfile.txt" And we save it into "FILEID" @@ -96,7 +96,7 @@ Feature: copying file using file id Scenario Outline: copy a file into a sub-folder in project space Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has created a folder "folder/sub-folder" in space "project-space" And user "Alice" has uploaded a file inside space "project-space" with content "some data" to "textfile.txt" And we save it into "FILEID" @@ -115,7 +115,7 @@ Feature: copying file using file id Scenario Outline: copy a file from a folder into root of project space Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has created a folder "folder" in space "project-space" And user "Alice" has uploaded a file inside space "project-space" with content "some data" to "folder/textfile.txt" And we save it into "FILEID" @@ -134,7 +134,7 @@ Feature: copying file using file id Scenario Outline: copy a file from sub-folder into root of project space Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has created a folder "folder/sub-folder" in space "project-space" And user "Alice" has uploaded a file inside space "project-space" with content "some data" to "folder/sub-folder/textfile.txt" And we save it into "FILEID" diff --git a/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature index 87b3839a308..0a0b95b3b7a 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature @@ -35,7 +35,7 @@ Feature: accessing files using file id Scenario Outline: get content of a file inside a project space 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has uploaded a file inside space "new-space" with content "some data" to "textfile.txt" And we save it into "FILEID" When user "Alice" sends HTTP method "GET" to URL "" @@ -81,7 +81,7 @@ Feature: accessing files using file id Scenario Outline: sharee gets content of a file inside a shared space Given user "Brian" has been created with default attributes and without skeleton files And 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has uploaded a file inside space "new-space" with content "some data" to "textfile.txt" And we save it into "FILEID" And user "Alice" has shared a space "new-space" with settings: diff --git a/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature index ce00ae7fd84..ee05858cd4e 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature @@ -77,7 +77,7 @@ Feature: moving/renaming file using file id Scenario Outline: move a file into a folder inside project space Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has created a folder "/folder" in space "project-space" And user "Alice" has uploaded a file inside space "project-space" with content "some data" to "textfile.txt" And we save it into "FILEID" @@ -96,7 +96,7 @@ Feature: moving/renaming file using file id Scenario Outline: move a file into a sub-folder inside project space Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has created a folder "folder/sub-folder" in space "project-space" And user "Alice" has uploaded a file inside space "project-space" with content "some data" to "/textfile.txt" And we save it into "FILEID" @@ -115,7 +115,7 @@ Feature: moving/renaming file using file id Scenario Outline: move a file from folder to root inside project space Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has created a folder "folder" in space "project-space" And user "Alice" has uploaded a file inside space "project-space" with content "some data" to "folder/textfile.txt" And we save it into "FILEID" @@ -134,7 +134,7 @@ Feature: moving/renaming file using file id Scenario Outline: move a file from sub-folder to root inside project space Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi + And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has created a folder "folder/sub-folder" in space "project-space" And user "Alice" has uploaded a file inside space "project-space" with content "some data" to "folder/sub-folder/textfile.txt" And we save it into "FILEID" diff --git a/tests/acceptance/features/apiSpacesDavOperation/propfindByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/propfindByFileId.feature index b88a52af3dd..78f15ba95f2 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/propfindByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/propfindByFileId.feature @@ -53,7 +53,7 @@ Feature: propfind a file using file id Scenario Outline: send a PROPFIND request to a file of inside project space 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has uploaded a file inside space "new-space" with content "some content" to "textfile.txt" And we save it into "FILEID" When user "Alice" sends HTTP method "PROPFIND" to URL "" @@ -70,7 +70,7 @@ Feature: propfind a file using file id Scenario Outline: send a PROPFIND request to a file inside a folder of project space 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has created a folder "folder" in space "new-space" And user "Alice" has uploaded a file inside space "new-space" with content "some content" to "/folder/textfile.txt" And we save it into "FILEID" @@ -89,7 +89,7 @@ Feature: propfind a file using file id Scenario Outline: send a PROPFIND request to a file inside project space owned by another user Given user "Brian" has been created with default attributes and without skeleton files And 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has uploaded a file inside space "new-space" with content "some content" to "textfile.txt" And we save it into "FILEID" When user "Brian" sends HTTP method "PROPFIND" to URL "" diff --git a/tests/acceptance/features/apiSpacesDavOperation/updateFileByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/updateFileByFileId.feature index d4cf9a2831d..5bd6044a1fc 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/updateFileByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/updateFileByFileId.feature @@ -35,7 +35,7 @@ Feature: update files using file id Scenario Outline: update content of a file inside a project space 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has uploaded a file inside space "new-space" with content "some data" to "/textfile.txt" And we save it into "FILEID" When user "Alice" sends HTTP method "PUT" to URL "" with content "updated content" @@ -83,7 +83,7 @@ Feature: update files using file id Scenario Outline: sharee with different role tries to update content of a file inside a shared space Given user "Brian" has been created with default attributes and without skeleton files And 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API And user "Alice" has uploaded a file inside space "new-space" with content "some data" to "/textfile.txt" And we save it into "FILEID" And user "Alice" has shared a space "new-space" with settings: diff --git a/tests/acceptance/features/apiSpacesShares/copySpaces.feature b/tests/acceptance/features/apiSpacesShares/copySpaces.feature index 3b94ea99337..30ed9fa72fa 100644 --- a/tests/acceptance/features/apiSpacesShares/copySpaces.feature +++ b/tests/acceptance/features/apiSpacesShares/copySpaces.feature @@ -13,7 +13,7 @@ Feature: copy file Scenario Outline: copying a file within a same project space with role manager and editor Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "Project" with the default quota using the GraphApi + And user "Alice" has created a space "Project" with the default quota using the Graph API And user "Alice" has created a folder "/newfolder" in space "Project" And user "Alice" has uploaded a file inside space "Project" with content "some content" to "/insideSpace.txt" And user "Alice" has shared a space "Project" with settings: @@ -32,7 +32,7 @@ Feature: copy file Scenario: copying a file within a same project space with role viewer Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "Project" with the default quota using the GraphApi + And user "Alice" has created a space "Project" with the default quota using the Graph API And user "Alice" has created a folder "/newfolder" in space "Project" And user "Alice" has uploaded a file inside space "Project" with content "some content" to "insideSpace.txt" And user "Alice" has shared a space "Project" with settings: @@ -46,8 +46,8 @@ Feature: copy file Scenario Outline: user copies a file from a project space with a different role to a project space with the manager role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project1" with the default quota using the GraphApi - And user "Brian" has created a space "Project2" with the default quota using the GraphApi + And user "Brian" has created a space "Project1" with the default quota using the Graph API + And user "Brian" has created a space "Project2" with the default quota using the Graph API And user "Brian" has uploaded a file inside space "Project1" with content "Project1 content" to "/project1.txt" And user "Brian" has shared a space "Project2" with settings: | shareWith | Alice | @@ -70,8 +70,8 @@ Feature: copy file Scenario Outline: user copies a file from a project space with a different role to a project space with a viewer role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project1" with the default quota using the GraphApi - And user "Brian" has created a space "Project2" with the default quota using the GraphApi + And user "Brian" has created a space "Project1" with the default quota using the Graph API + And user "Brian" has created a space "Project2" with the default quota using the Graph API And user "Brian" has uploaded a file inside space "Project1" with content "Project1 content" to "/project1.txt" And user "Brian" has shared a space "Project2" with settings: | shareWith | Alice | @@ -91,7 +91,7 @@ Feature: copy file Scenario Outline: user copies a file from project space with different role to personal space Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has uploaded a file inside space "Project" with content "Project content" to "/project.txt" And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | @@ -110,7 +110,7 @@ Feature: copy file Scenario Outline: user copies a file from project space with different role to share space with editor role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has created folder "/testshare" And user "Brian" has uploaded a file inside space "Project" with content "Project content" to "/project.txt" And user "Brian" has shared a space "Project" with settings: @@ -132,7 +132,7 @@ Feature: copy file Scenario Outline: user copies a file from project space with different role to Shares with viewer role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has created folder "/testshare" And user "Brian" has uploaded a file inside space "Project" with content "Project content" to "/project.txt" And user "Brian" has shared a space "Project" with settings: @@ -153,7 +153,7 @@ Feature: copy file Scenario Outline: user copies a file from personal space to project space with different role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | | role | | @@ -171,7 +171,7 @@ Feature: copy file Scenario: user copies a file from personal space to project space with role viewer Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | | role | viewer | @@ -224,7 +224,7 @@ Feature: copy file Scenario Outline: user copies a file from share space with different role to project space with different role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | | role | | @@ -247,7 +247,7 @@ Feature: copy file Scenario Outline: user copies a file from share space with different role to project space with role viewer Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | | role | viewer | @@ -309,7 +309,7 @@ Feature: copy file Scenario Outline: copying a folder within the same project space with different role Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "Project" with the default quota using the GraphApi + And user "Alice" has created a space "Project" with the default quota using the Graph API And user "Alice" has created a folder "/folder1" in space "Project" And user "Alice" has created a folder "/folder2" in space "Project" And user "Alice" has uploaded a file inside space "Project" with content "some content" to "/folder2/demo.txt" @@ -329,8 +329,8 @@ Feature: copy file Scenario Outline: user copies a folder from a project space with different role to a project space with different role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project1" with the default quota using the GraphApi - And user "Brian" has created a space "Project2" with the default quota using the GraphApi + And user "Brian" has created a space "Project1" with the default quota using the Graph API + And user "Brian" has created a space "Project2" with the default quota using the Graph API And user "Brian" has created a folder "/folder1" in space "Project1" And user "Brian" has uploaded a file inside space "Project1" with content "some content" to "/folder1/demo.txt" And user "Brian" has shared a space "Project2" with settings: @@ -356,7 +356,7 @@ Feature: copy file Scenario Outline: user copies a folder from project space with different role to personal space Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has created a folder "/folder1" in space "Project" And user "Brian" has uploaded a file inside space "Project" with content "some content" to "/folder1/demo.txt" And user "Brian" has shared a space "Project" with settings: @@ -375,7 +375,7 @@ Feature: copy file Scenario Outline: Uuer copies a folder from project space with different role to share space with different role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has created folder "/testshare" And user "Brian" has created a folder "/folder1" in space "Project" And user "Brian" has uploaded a file inside space "Project" with content "some content" to "/folder1/demo.txt" @@ -400,7 +400,7 @@ Feature: copy file Scenario Outline: user copies a folder from personal space to project space with different role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | | role | | @@ -452,7 +452,7 @@ Feature: copy file Scenario Outline: user copies a folder from share space with different role to project space with different role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | | role | | @@ -475,7 +475,7 @@ Feature: copy file Scenario Outline: user copies a folder from share space with different role to project space with role viewer Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | | role | viewer | @@ -737,7 +737,7 @@ Feature: copy file Scenario: copying a file with an option "keep both" inside of the project space Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "Project" with the default quota using the GraphApi + And user "Alice" has created a space "Project" with the default quota using the Graph API And user "Alice" has created a folder "/newfolder" in space "Project" And user "Alice" has uploaded a file inside space "Project" with content "some content" to "/newfolder/insideSpace.txt" And user "Alice" has uploaded a file inside space "Project" with content "new content" to "/insideSpace.txt" @@ -751,7 +751,7 @@ Feature: copy file @issue-4797 Scenario: copying a file with an option "replace" inside of the project space Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "Project" with the default quota using the GraphApi + And user "Alice" has created a space "Project" with the default quota using the Graph API And user "Alice" has created a folder "/newfolder" in space "Project" And user "Alice" has uploaded a file inside space "Project" with content "old content version 1" to "/newfolder/insideSpace.txt" And user "Alice" has uploaded a file inside space "Project" with content "old content version 2" to "/newfolder/insideSpace.txt" @@ -770,7 +770,7 @@ Feature: copy file Scenario: copying a file from Personal to Shares with an option "keep both" Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "Project" with the default quota using the GraphApi + And user "Alice" has created a space "Project" with the default quota using the Graph API And user "Alice" has created a folder "/newfolder" in space "Project" And user "Alice" has uploaded a file inside space "Project" with content "some content" to "/newfolder/personal.txt" And user "Alice" creates a share inside of space "Project" with settings: @@ -792,7 +792,7 @@ Feature: copy file Scenario: copying a file from Personal to Shares with an option "replace" Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "Project" with the default quota using the GraphApi + And user "Alice" has created a space "Project" with the default quota using the Graph API And user "Alice" has created a folder "/newfolder" in space "Project" And user "Alice" has uploaded a file inside space "Project" with content "old content version 1" to "/newfolder/personal.txt" And user "Alice" has uploaded a file inside space "Project" with content "old content version 2" to "/newfolder/personal.txt" diff --git a/tests/acceptance/features/apiSpacesShares/moveSpaces.feature b/tests/acceptance/features/apiSpacesShares/moveSpaces.feature index 605bbef7d8e..9e70201ca3c 100644 --- a/tests/acceptance/features/apiSpacesShares/moveSpaces.feature +++ b/tests/acceptance/features/apiSpacesShares/moveSpaces.feature @@ -13,7 +13,7 @@ Feature: move (rename) file Scenario Outline: moving a file within same space project with role manager and editor Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has created a folder "newfolder" in space "Project" And user "Brian" has uploaded a file inside space "Project" with content "some content" to "insideSpace.txt" And user "Brian" has shared a space "Project" with settings: @@ -33,7 +33,7 @@ Feature: move (rename) file Scenario: moving a file within same space project with role viewer Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has created a folder "newfolder" in space "Project" And user "Brian" has uploaded a file inside space "Project" with content "some content" to "insideSpace.txt" And user "Brian" has shared a space "Project" with settings: @@ -49,8 +49,8 @@ Feature: move (rename) file Scenario Outline: user moves a file from a space project with different a role to a space project with different role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project1" with the default quota using the GraphApi - And user "Brian" has created a space "Project2" with the default quota using the GraphApi + And user "Brian" has created a space "Project1" with the default quota using the Graph API + And user "Brian" has created a space "Project2" with the default quota using the Graph API And user "Brian" has uploaded a file inside space "Project1" with content "Project1 content" to "project1.txt" And user "Brian" has shared a space "Project2" with settings: | shareWith | Alice | @@ -79,7 +79,7 @@ Feature: move (rename) file Scenario Outline: user moves a file from a space project with different role to a space personal Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has uploaded a file inside space "Project" with content "Project content" to "project.txt" And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | @@ -99,7 +99,7 @@ Feature: move (rename) file Scenario Outline: user moves a file from space project with different role to space Shares with different role (permission) Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has created folder "/testshare" And user "Brian" has uploaded a file inside space "Project" with content "Project content" to "project.txt" And user "Brian" has shared a space "Project" with settings: @@ -125,7 +125,7 @@ Feature: move (rename) file Scenario Outline: user moves a file from space personal to space project with different role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | | role | | @@ -181,7 +181,7 @@ Feature: move (rename) file Scenario Outline: user moves a file from space Shares with different role (permissions) to space project with different role Given the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API - And user "Brian" has created a space "Project" with the default quota using the GraphApi + And user "Brian" has created a space "Project" with the default quota using the Graph API And user "Brian" has shared a space "Project" with settings: | shareWith | Alice | | role | | diff --git a/tests/acceptance/features/apiSpacesShares/publicLinkDownload.feature b/tests/acceptance/features/apiSpacesShares/publicLinkDownload.feature index 1dea654009c..05fde69de4f 100644 --- a/tests/acceptance/features/apiSpacesShares/publicLinkDownload.feature +++ b/tests/acceptance/features/apiSpacesShares/publicLinkDownload.feature @@ -10,7 +10,7 @@ Feature: Public can download folders from project space public link | Brian | And using spaces DAV path And 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 GraphApi + And user "Alice" has created a space "new-space" with the default quota using the Graph API Scenario: download a folder from public link of a space diff --git a/tests/acceptance/features/apiSpacesShares/shareSpaces.feature b/tests/acceptance/features/apiSpacesShares/shareSpaces.feature index 57cfa790912..25e317a5071 100644 --- a/tests/acceptance/features/apiSpacesShares/shareSpaces.feature +++ b/tests/acceptance/features/apiSpacesShares/shareSpaces.feature @@ -13,7 +13,7 @@ Feature: Share spaces | Brian | | Bob | And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "share space" with the default quota using the GraphApi + And user "Alice" has created a space "share space" with the default quota using the Graph API And using spaces DAV path @@ -195,8 +195,8 @@ Feature: Share spaces Scenario Outline: user shares a space with a group Given group "group2" has been created - And the administrator has added a user "Brian" to the group "group2" using GraphApi - And the administrator has added a user "Bob" to the group "group2" using GraphApi + And the administrator has added a user "Brian" to the group "group2" using the Graph API + And the administrator has added a user "Bob" to the group "group2" using the Graph API When user "Alice" shares a space "share space" with settings: | shareWith | group2 | | shareType | 8 | @@ -213,7 +213,7 @@ Feature: Share spaces Scenario Outline: user has no access to the space if access for the group has been removed Given group "group2" has been created - And the administrator has added a user "Brian" to the group "group2" using GraphApi + And the administrator has added a user "Brian" to the group "group2" using the Graph API And user "Alice" has shared a space "share space" with settings: | shareWith | group2 | | shareType | 8 | @@ -230,8 +230,8 @@ Feature: Share spaces Scenario: user has no access to the space if he has been removed from the group Given group "group2" has been created - And the administrator has added a user "Brian" to the group "group2" using GraphApi - And the administrator has added a user "Bob" to the group "group2" using GraphApi + And the administrator has added a user "Brian" to the group "group2" using the Graph API + And the administrator has added a user "Bob" to the group "group2" using the Graph API And user "Alice" has shared a space "share space" with settings: | shareWith | group2 | | shareType | 8 | @@ -246,8 +246,8 @@ Feature: Share spaces Scenario: users don't have access to the space if the group has been deleted Given group "group2" has been created - And the administrator has added a user "Brian" to the group "group2" using GraphApi - And the administrator has added a user "Bob" to the group "group2" using GraphApi + And the administrator has added a user "Brian" to the group "group2" using the Graph API + And the administrator has added a user "Bob" to the group "group2" using the Graph API And user "Alice" has shared a space "share space" with settings: | shareWith | group2 | | shareType | 8 | @@ -260,7 +260,7 @@ Feature: Share spaces Scenario: user increases permissions for one member of the group or for the entire group Given group "sales" has been created - And the administrator has added a user "Brian" to the group "sales" using GraphApi + And the administrator has added a user "Brian" to the group "sales" using the Graph API And user "Alice" has shared a space "share space" with settings: | shareWith | sales | | shareType | 8 | @@ -277,7 +277,7 @@ Feature: Share spaces Scenario: user increases permissions for the group, so the user's permissions are increased Given group "sales" has been created - And the administrator has added a user "Brian" to the group "sales" using GraphApi + And the administrator has added a user "Brian" to the group "sales" using the Graph API And user "Alice" has shared a space "share space" with settings: | shareWith | Brian | | role | viewer | @@ -308,7 +308,7 @@ Feature: Share spaces Scenario Outline: space Admin can share a space to the group with an expiration date Given group "sales" has been created - And the administrator has added a user "Brian" to the group "sales" using GraphApi + And the administrator has added a user "Brian" to the group "sales" using the Graph API When user "Alice" shares a space "share space" with settings: | shareWith | sales | | shareType | 8 | @@ -343,7 +343,7 @@ Feature: Share spaces Scenario Outline: update the expiration date of a space in group share Given group "sales" has been created - And the administrator has added a user "Brian" to the group "sales" using GraphApi + And the administrator has added a user "Brian" to the group "sales" using the Graph API And user "Alice" has shared a space "share space" with settings: | shareWith | sales | | shareType | 8 | @@ -383,7 +383,7 @@ Feature: Share spaces Scenario Outline: delete the expiration date of a space in group share Given group "sales" has been created - And the administrator has added a user "Brian" to the group "sales" using GraphApi + And the administrator has added a user "Brian" to the group "sales" using the Graph API And user "Alice" has shared a space "share space" with settings: | shareWith | sales | | shareType | 8 | @@ -420,7 +420,7 @@ Feature: Share spaces Scenario Outline: check the end of expiration of a space in group share Given group "sales" has been created - And the administrator has added a user "Brian" to the group "sales" using GraphApi + And the administrator has added a user "Brian" to the group "sales" using the Graph API And user "Alice" has shared a space "share space" with settings: | shareWith | sales | | shareType | 8 | @@ -453,7 +453,7 @@ Feature: Share spaces Scenario: user cannot share the personal space to a group Given group "sales" has been created - And the administrator has added a user "Brian" to the group "sales" using GraphApi + And the administrator has added a user "Brian" to the group "sales" using the Graph API And user "Alice" shares a space "Alice Hansen" with settings: | shareWith | sales | | shareType | 8 | diff --git a/tests/acceptance/features/apiSpacesShares/shareSpacesViaLink.feature b/tests/acceptance/features/apiSpacesShares/shareSpacesViaLink.feature index 6885d90377c..9bdfc67444c 100644 --- a/tests/acceptance/features/apiSpacesShares/shareSpacesViaLink.feature +++ b/tests/acceptance/features/apiSpacesShares/shareSpacesViaLink.feature @@ -13,7 +13,7 @@ Feature: Share spaces via link | Brian | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "share space" with the default quota using the GraphApi + And user "Alice" has created a space "share space" with the default quota using the Graph API And user "Alice" has uploaded a file inside space "share space" with content "some content" to "test.txt" diff --git a/tests/acceptance/features/apiSpacesShares/shareSubItemOfSpace.feature b/tests/acceptance/features/apiSpacesShares/shareSubItemOfSpace.feature index eac17bc3187..bac6b0c04f1 100644 --- a/tests/acceptance/features/apiSpacesShares/shareSubItemOfSpace.feature +++ b/tests/acceptance/features/apiSpacesShares/shareSubItemOfSpace.feature @@ -14,7 +14,7 @@ Feature: Share a file or folder that is inside a space | Bob | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "share sub-item" with the default quota using the GraphApi + And user "Alice" has created a space "share sub-item" with the default quota using the Graph API And user "Alice" has created a folder "folder" in space "share sub-item" And user "Alice" has uploaded a file inside space "share sub-item" with content "some content" to "file.txt" And using new DAV path @@ -103,7 +103,7 @@ Feature: Share a file or folder that is inside a space Scenario: user shares the folder to the group Given group "sales" has been created - And the administrator has added a user "Brian" to the group "sales" using GraphApi + And the administrator has added a user "Brian" to the group "sales" using the Graph API When user "Alice" creates a share inside of space "share sub-item" with settings: | path | folder | | shareWith | sales | @@ -161,7 +161,7 @@ Feature: Share a file or folder that is inside a space @issue-5823 Scenario: check the end of expiration date in group share Given group "sales" has been created - And the administrator has added a user "Brian" to the group "sales" using GraphApi + And the administrator has added a user "Brian" to the group "sales" using the Graph API And user "Alice" has created a share inside of space "share sub-item" with settings: | path | folder | | shareWith | sales | diff --git a/tests/acceptance/features/apiSpacesShares/shareSubItemOfSpaceViaPublicLink.feature b/tests/acceptance/features/apiSpacesShares/shareSubItemOfSpaceViaPublicLink.feature index df69680aba9..26125add2ec 100644 --- a/tests/acceptance/features/apiSpacesShares/shareSubItemOfSpaceViaPublicLink.feature +++ b/tests/acceptance/features/apiSpacesShares/shareSubItemOfSpaceViaPublicLink.feature @@ -27,7 +27,7 @@ Feature: Share a file or folder that is inside a space via public link | Brian | And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "share sub-item" with the default quota using the GraphApi + And user "Alice" has created a space "share sub-item" with the default quota using the Graph API And user "Alice" has created a folder "folder" in space "share sub-item" And user "Alice" has uploaded a file inside space "share sub-item" with content "some content" to "folder/file.txt" diff --git a/tests/acceptance/features/bootstrap/GraphContext.php b/tests/acceptance/features/bootstrap/GraphContext.php index 9cda27ea320..405c647c57d 100644 --- a/tests/acceptance/features/bootstrap/GraphContext.php +++ b/tests/acceptance/features/bootstrap/GraphContext.php @@ -785,7 +785,7 @@ public function addUserToGroup(string $group, string $user, ?string $byUser = nu } /** - * @Given /^the administrator has added a user "([^"]*)" to the group "([^"]*)" using GraphApi$/ + * @Given /^the administrator has added a user "([^"]*)" to the group "([^"]*)" using the Graph API$/ * * @param string $user * @param string $group diff --git a/tests/acceptance/features/bootstrap/SpacesContext.php b/tests/acceptance/features/bootstrap/SpacesContext.php index 1164ec3b795..f5b235955d6 100644 --- a/tests/acceptance/features/bootstrap/SpacesContext.php +++ b/tests/acceptance/features/bootstrap/SpacesContext.php @@ -502,8 +502,8 @@ public function sendCreateFolderRequest( } /** - * @When /^user "([^"]*)" lists all available spaces via the GraphApi$/ - * @When /^user "([^"]*)" lists all available spaces via the GraphApi with query "([^"]*)"$/ + * @When /^user "([^"]*)" lists all available spaces via the Graph API$/ + * @When /^user "([^"]*)" lists all available spaces via the Graph API with query "([^"]*)"$/ * * @param string $user * @param string $query @@ -529,9 +529,9 @@ public function theUserListsAllHisAvailableSpacesUsingTheGraphApi(string $user, /** * The method is used on the administration setting tab, which only the Admin user and the Space admin user have access to * - * @When /^user "([^"]*)" lists all spaces via the GraphApi$/ - * @When /^user "([^"]*)" lists all spaces via the GraphApi with query "([^"]*)"$/ - * @When /^user "([^"]*)" tries to list all spaces via the GraphApi$/ + * @When /^user "([^"]*)" lists all spaces via the Graph API$/ + * @When /^user "([^"]*)" lists all spaces via the Graph API with query "([^"]*)"$/ + * @When /^user "([^"]*)" tries to list all spaces via the Graph API$/ * * @param string $user * @param string $query @@ -555,7 +555,7 @@ public function theUserListsAllAvailableSpacesUsingTheGraphApi(string $user, str } /** - * @When /^user "([^"]*)" looks up the single space "([^"]*)" via the GraphApi by using its id$/ + * @When /^user "([^"]*)" looks up the single space "([^"]*)" via the Graph API by using its id$/ * @When /^user "([^"]*)" tries to look up the single space "([^"]*)" owned by the user "([^"]*)" by using its id$/ * * @param string $user @@ -1504,7 +1504,7 @@ public function userHasCreatedSpace( } /** - * @Given /^user "([^"]*)" has created a space "([^"]*)" with the default quota using the GraphApi$/ + * @Given /^user "([^"]*)" has created a space "([^"]*)" with the default quota using the Graph API$/ * * @param string $user * @param string $spaceName diff --git a/tests/acceptance/features/bootstrap/TagContext.php b/tests/acceptance/features/bootstrap/TagContext.php index e608a3e801a..1c34637db0f 100644 --- a/tests/acceptance/features/bootstrap/TagContext.php +++ b/tests/acceptance/features/bootstrap/TagContext.php @@ -140,7 +140,7 @@ public function userHasCreatedTheFollowingTagsForFilesOfTheSpace(string $user, s } /** - * @When user :user lists all available tag(s) via the GraphApi + * @When user :user lists all available tag(s) via the Graph API * * @param string $user *