From 12e6b5312e95e916d0568db3ec0b67a1761be676 Mon Sep 17 00:00:00 2001 From: Niraj Acharya Date: Thu, 14 Dec 2023 12:56:41 +0545 Subject: [PATCH] adding test for listing file version of a file inside project space --- .../fileVersionByFileID.feature | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/tests/acceptance/features/apiSpacesDavOperation/fileVersionByFileID.feature b/tests/acceptance/features/apiSpacesDavOperation/fileVersionByFileID.feature index ea677949ad0..1e19ecebaf6 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/fileVersionByFileID.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/fileVersionByFileID.feature @@ -32,7 +32,7 @@ Feature: checking file versions using file id | all | - Scenario Outline: check the file versions of a shared file + Scenario Outline: check the file versions of a file in a shared space Given these users have been created with default attributes and without skeleton files: | username | | Alice | @@ -46,10 +46,6 @@ Feature: checking file versions using file id And user "Alice" has shared a space "Project1" with settings: | shareWith | Brian | | role | | - # And user "Alice" has created a share inside of space "Project1" with settings: - # | path | text.txt | - # | shareWith | Brian | - # | role | | And using new DAV path When user "Alice" gets the number of versions of file "/text.txt" using file-id path "/meta/<>/v" Then the HTTP status code should be "207" @@ -57,7 +53,7 @@ Feature: checking file versions using file id When user "Brian" tries to get the number of versions of file "/text.txt" using file-id path "/meta/<>/v" Then the HTTP status code should be "" Examples: - | role | status_code| - | editor |207 | - | viewer |403| - | all |207| \ No newline at end of file + | role | status_code | + | editor | 207 | + | viewer | 403 | + | manager | 207 | \ No newline at end of file