[tests-only][full-ci] Refactoring all graphapi related featurefile wording (#7389)

* refactoring the feature file steps

* addressing review
This commit is contained in:
Sabin Panta
2023-10-30 17:57:42 +05:45
committed by GitHub
parent 632de1bef5
commit 1c6600365c
42 changed files with 147 additions and 148 deletions
@@ -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 "<dav-path>" 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: