From ab83e45f7a710745b5fb7ef112030570864fefd2 Mon Sep 17 00:00:00 2001 From: Kiran Parajuli Date: Wed, 12 Oct 2022 17:23:31 +0545 Subject: [PATCH] Update regex Signed-off-by: Kiran Parajuli --- .../apiWebdavOperations/search.feature | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tests/acceptance/features/apiWebdavOperations/search.feature b/tests/acceptance/features/apiWebdavOperations/search.feature index 578ec69156f8..2f8b9048aa93 100644 --- a/tests/acceptance/features/apiWebdavOperations/search.feature +++ b/tests/acceptance/features/apiWebdavOperations/search.feature @@ -179,7 +179,7 @@ Feature: Search | dav_version | | spaces | - @skipOnOcis + @skipOnOcis @issues-4712 Scenario Outline: report extra properties in search entries for a file Given using DAV path When user "Alice" searches for "upload" using the WebDAV API requesting these properties: @@ -196,21 +196,21 @@ Feature: Search | name | value | | {http://owncloud.org/ns}fileid | \d* | | {http://owncloud.org/ns}permissions | ^(RDNVW\|RMDNVW)$ | - | {DAV:}getlastmodified | | + | {DAV:}getlastmodified | ^[MTWFS][uedhfriatno]{2},\s(\d){2}\s[JFMAJSOND][anebrpyulgctov]{2}\s\d{4}\s\d{2}:\d{2}:\d{2} GMT$ | | {DAV:}getetag | ^\"[a-f0-9:\.]{1,32}\"$ | | {DAV:}getcontenttype | text\/plain | | {http://owncloud.org/ns}size | 15 | | {http://owncloud.org/ns}owner-id | %username% | | {http://owncloud.org/ns}owner-display-name | %displayname% | Examples: - | dav_version | last_modified_regex | - | old | ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$ | - | new | ^[MTWFS][uedhfriatno]{2},\s(\d){2}\s[JFMAJSOND][anebrpyulgctov]{2}\s\d{4}\s\d{2}:\d{2}:\d{2} GMT$ | + | dav_version | + | old | + | new | @skipOnOcV10 @personalSpace Examples: - | dav_version | last_modified_regex | - | spaces | ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$ | + | dav_version | + | spaces | @skipOnOcV10 @issues-4712 # after the issue is fixed, the above scenario should be run for oCIS as well @@ -246,7 +246,7 @@ Feature: Search | dav_version | | spaces | - @skipOnOcis + @skipOnOcis @issues-4712 Scenario Outline: report extra properties in search entries for a folder Given using DAV path When user "Alice" searches for "upload" using the WebDAV API requesting these properties: @@ -279,6 +279,7 @@ Feature: Search | spaces | @skipOnOcV10 @issues-4712 + # after the issue is fixed, the above scenario should be run for oCIS as well Scenario Outline: report extra properties in search entries for a folder Given using DAV path When user "Alice" searches for "upload" using the WebDAV API requesting these properties: @@ -305,7 +306,7 @@ Feature: Search | old | | new | - @skipOnOcV10 @personalSpace + @personalSpace Examples: | dav_version | | spaces |