diff --git a/tests/acceptance/features/apiAntivirus/antivirus.feature b/tests/acceptance/features/apiAntivirus/antivirus.feature index 7fc0c5d0c22..407d403630f 100644 --- a/tests/acceptance/features/apiAntivirus/antivirus.feature +++ b/tests/acceptance/features/apiAntivirus/antivirus.feature @@ -218,7 +218,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" @@ -244,7 +244,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 | @@ -459,7 +459,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 @@ -474,7 +474,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 | @@ -494,7 +494,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 dfcaa0410c5..dd245f1cced 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 458bead54f5..fd31adc6a4f 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 f921c4e9f9a..33a26728ccd 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" shares 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 e036a6be1f7..fc4da4b02e2 100644 --- a/tests/acceptance/features/apiReshare/resharing.feature +++ b/tests/acceptance/features/apiReshare/resharing.feature @@ -108,8 +108,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" And user "Ember" able to upload file "filesForUpload/textfile.txt" to "/Shares/folder/textfile.txt" diff --git a/tests/acceptance/features/apiSearch/apiSpaceSearch.feature b/tests/acceptance/features/apiSearch/apiSpaceSearch.feature index cee1fa816b4..5db58b3ea05 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 3119bcc09fe..945d8703b36 100644 --- a/tests/acceptance/features/apiSearch/contentSearch.feature +++ b/tests/acceptance/features/apiSearch/contentSearch.feature @@ -161,7 +161,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" @@ -185,7 +185,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 | @@ -234,7 +234,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 f1e491c9b4f..6f32057f194 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": @@ -148,7 +148,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/changeSpaces.feature b/tests/acceptance/features/apiSpaces/changeSpaces.feature index 5992d457eff..cc34268dec0 100644 --- a/tests/acceptance/features/apiSpaces/changeSpaces.feature +++ b/tests/acceptance/features/apiSpaces/changeSpaces.feature @@ -339,7 +339,7 @@ Feature: Change data of space When user "" uploads a file inside space "Project Jupiter" owned by the user "Alice" with content "new content" to ".space/readme.md" using the WebDAV API Then the HTTP status code should be "" And for user "" the content of the file ".space/readme.md" of the space "Project Jupiter" should be "" - When user "" lists all available spaces via the GraphApi + When user "" lists all available spaces via the Graph API And the JSON response should contain space called "Project Jupiter" owned by "Alice" with description file ".space/readme.md" and match """ { 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 21863e89497..6d5684ebfea 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 fb6584b3632..81559075b4c 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 """ @@ -81,7 +81,7 @@ Feature: List and create spaces Given user "Brian" has been created with default attributes and without skeleton files And user "Brian" has created folder "folder" And user "Brian" has shared folder "folder" with user "Alice" with permissions "31" - 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 """ @@ -150,7 +150,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 """ @@ -181,13 +181,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 """ @@ -244,7 +244,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 """ @@ -347,7 +347,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 """ @@ -418,7 +418,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" @@ -434,7 +434,7 @@ Feature: List and create spaces And user "Brian" has uploaded file with content "this is a test file." to "test.txt" And the administrator has assigned the role "" to user "Alice" using the Graph API And user "Brian" has shared file "/test.txt" with user "Alice" - 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 "Shares" owned by "Alice" and match """ diff --git a/tests/acceptance/features/apiSpaces/lockFiles.feature b/tests/acceptance/features/apiSpaces/lockFiles.feature index fdc46f98f20..f2ec2eff224 100644 --- a/tests/acceptance/features/apiSpaces/lockFiles.feature +++ b/tests/acceptance/features/apiSpaces/lockFiles.feature @@ -91,7 +91,7 @@ Feature: lock files Scenario Outline: lock a file in the project space Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API And using spaces DAV path - 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 uploaded a file inside space "Project" with content "some content" to "textfile.txt" And user "Alice" has shared a space "Project" with settings: | shareWith | Brian | @@ -117,7 +117,7 @@ Feature: lock files Scenario Outline: lock a file in the project space using file-id Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API And using spaces DAV path - 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 uploaded a file inside space "Project" with content "some content" to "textfile.txt" And we save it into "FILEID" And user "Alice" has shared a space "Project" with settings: @@ -144,7 +144,7 @@ Feature: lock files Scenario: viewer cannot lock a file in the project space Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API And using spaces DAV path - 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 uploaded a file inside space "Project" with content "some content" to "textfile.txt" And we save it into "FILEID" And user "Alice" has shared a space "Project" with settings: @@ -203,7 +203,7 @@ Feature: lock files | /remote.php/dav/spaces/<> | | /dav/spaces/<> | - + Scenario: viewer cannot lock a file in the shares using file-id Given user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt" And we save it into "FILEID" @@ -214,4 +214,3 @@ Feature: lock files When user "Brian" locks file using file-id path "" using the WebDAV API setting the following properties | lockscope | exclusive | Then the HTTP status code should be "403" - \ No newline at end of file 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 f66d92d0984..652a2380aa1 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,7 +111,7 @@ 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 contain following tags: | folderTag | @@ -127,7 +127,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 | @@ -154,7 +154,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 | @@ -193,7 +193,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 | @@ -208,7 +208,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 | @@ -220,14 +220,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 | @@ -241,7 +241,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 | @@ -268,7 +268,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 | @@ -288,7 +288,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 f834dc7db97..c6000a6340c 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature @@ -76,7 +76,7 @@ Feature: copying file using file id Scenario Outline: copy a file into a folder in 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-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" @@ -94,7 +94,7 @@ Feature: copying file using file id Scenario Outline: copy a file into a sub-folder in 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-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" @@ -112,7 +112,7 @@ Feature: copying file using file id Scenario Outline: copy a file from a folder into root 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 "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" @@ -130,7 +130,7 @@ Feature: copying file using file id Scenario Outline: copy a file from sub-folder into root 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 "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" @@ -148,7 +148,7 @@ Feature: copying file using file id Scenario Outline: copy a file from personal to 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-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 "some data" to "textfile.txt" And we save it into "FILEID" When user "Alice" copies a file "/textfile.txt" into "/" inside space "project-space" using file-id path "" @@ -165,7 +165,7 @@ Feature: copying file using file id Scenario Outline: copy a file from project to personal 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-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 "textfile.txt" And we save it into "FILEID" When user "Alice" copies a file "/textfile.txt" into "/" inside space "Personal" using file-id path "" diff --git a/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature index d6344d5a068..fa99e804f2c 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 "" @@ -79,7 +79,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 c6364ab01e3..c29976af9c2 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 166931fcc91..4ca93a2511a 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" @@ -81,7 +81,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 38b0da9a128..a1b1922881a 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: @@ -131,7 +131,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: @@ -151,7 +151,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 | | @@ -169,7 +169,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 | @@ -219,7 +219,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 | | @@ -241,7 +241,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 | @@ -298,7 +298,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" @@ -318,8 +318,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: @@ -345,7 +345,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: @@ -364,7 +364,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" @@ -388,7 +388,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 | | @@ -438,7 +438,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 | | @@ -460,7 +460,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 | @@ -709,7 +709,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" @@ -723,7 +723,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" @@ -742,7 +742,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: @@ -763,7 +763,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 77fbd08f57b..84709950ed0 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: @@ -124,7 +124,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 | | @@ -178,7 +178,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 d9f6d7679a3..dc3094770a3 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 @@ -101,7 +101,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 | @@ -155,7 +155,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 83eb0d73f95..500e9320afc 100644 --- a/tests/acceptance/features/bootstrap/GraphContext.php +++ b/tests/acceptance/features/bootstrap/GraphContext.php @@ -794,7 +794,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 583fe38ba87..fdf5a9c849d 100644 --- a/tests/acceptance/features/bootstrap/SpacesContext.php +++ b/tests/acceptance/features/bootstrap/SpacesContext.php @@ -563,8 +563,8 @@ public function listAllAvailableSpacesOfUser(string $user, string $query = ''): } /** - * @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 @@ -602,9 +602,9 @@ public function listAllAvailableSpaces(string $user, string $query = ''): Respon } /** - * @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 @@ -621,7 +621,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 @@ -1607,7 +1607,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 *