From ee1c9cf87f17a042abbf1ffe828846177b615c02 Mon Sep 17 00:00:00 2001 From: Nalem7 <61624650+nabim777@users.noreply.github.com> Date: Mon, 10 Jul 2023 14:29:42 +0545 Subject: [PATCH] add api test for search tag by user (#6659) --- tests/acceptance/features/apiGraph/fullSearch.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/features/apiGraph/fullSearch.feature b/tests/acceptance/features/apiGraph/fullSearch.feature index 759ec017687..f2fe658569e 100644 --- a/tests/acceptance/features/apiGraph/fullSearch.feature +++ b/tests/acceptance/features/apiGraph/fullSearch.feature @@ -29,7 +29,7 @@ Feature: full text search | spaces | - Scenario Outline: sharee searches a file tagged by sharer using tag + Scenario Outline: sharee searches shared files using a tag Given using DAV path And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has created folder "uploadFolder" @@ -38,10 +38,10 @@ Feature: full text search And user "Alice" has uploaded file with content "hello nepal" to "uploadFolder/file3.txt" And user "Alice" has created the following tags for file "uploadFolder/file1.txt" of the space "Personal": | tag1 | - And user "Alice" has created the following tags for file "uploadFolder/file2.txt" of the space "Personal": - | tag1 | And user "Alice" has shared folder "/uploadFolder" with user "Brian" And user "Brian" has accepted share "/uploadFolder" offered by user "Alice" + And user "Brian" has created the following tags for file "uploadFolder/file2.txt" of the space "Shares": + | tag1 | When user "Brian" searches for "Tags:tag1" using the WebDAV API Then the HTTP status code should be "207" And the search result of user "Brian" should contain only these files: