From 57e995c4c0b3f0a078e1c8f17d37703f6f48e3ce Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Thu, 30 May 2019 11:01:26 +0545 Subject: [PATCH] make search tests more flexible --- .../features/apiWebdavOperations/search.feature | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/features/apiWebdavOperations/search.feature b/tests/acceptance/features/apiWebdavOperations/search.feature index 7d4d3ab0a3e2..cc9f02c609cf 100644 --- a/tests/acceptance/features/apiWebdavOperations/search.feature +++ b/tests/acceptance/features/apiWebdavOperations/search.feature @@ -96,9 +96,14 @@ Feature: Search Given using DAV path When user "user0" searches for "upload" and limits the results to "1" items using the WebDAV API Then the HTTP status code should be "207" - And the search result should contain "1" entries - And the search result should contain these entries: - | /upload folder | + And the search result should contain any "1" of these entries: + | /just-a-folder/upload.txt | + | /just-a-folder/uploadÜठिF.txt | + | /upload folder | + | /upload.txt | + | /फनी näme/upload.txt | + | /upload😀 😁 | + | /upload😀 😁/upload😀 😁.txt | Examples: | dav_version | | old |