From 1138412affae42961e90eb1ffe0877e80dea8a00 Mon Sep 17 00:00:00 2001 From: amrita Date: Thu, 20 Jul 2023 10:25:30 +0545 Subject: [PATCH] Add hidden file also --- .../features/apiSpaces/spaceDownload.feature | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/tests/acceptance/features/apiSpaces/spaceDownload.feature b/tests/acceptance/features/apiSpaces/spaceDownload.feature index a0b037c29c..c6dbba9ccb 100644 --- a/tests/acceptance/features/apiSpaces/spaceDownload.feature +++ b/tests/acceptance/features/apiSpaces/spaceDownload.feature @@ -9,14 +9,17 @@ Feature: Download space Given user "Alice" has been created with default attributes and without skeleton files And using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API - And user "Alice" has created a space "project-space" with the default quota using the GraphApi - And user "Alice" has uploaded a file inside space "project-space" with content "some data" to "file1.txt" - And user "Alice" has uploaded a file inside space "project-space" with content "other data" to "file2.txt" - And user "Alice" has uploaded a file inside space "project-space" with content "more data" to "file3.txt" - When user "Alice" downloads the space "project-space" using the WebDAV API + And user "Alice" has created a space "Project-space" with the default quota using the GraphApi + And user "Alice" has uploaded a file inside space "Project-space" with content "some data" to "file1.txt" + And user "Alice" has uploaded a file inside space "Project-space" with content "other data" to "file2.txt" + And user "Alice" has uploaded a file inside space "Project-space" with content "more data" to "file3.txt" + And user "Alice" has created a folder ".space" in space "Project-space" + And user "Alice" has uploaded a file inside space "Project-space" with content "space description" to ".space/readme.md" + When user "Alice" downloads the space "Project-space" using the WebDAV API Then the HTTP status code should be "200" And the downloaded "tar" archive should contain these files: - | name | content | - | file1.txt | some data | - | file2.txt | other data | - | file3.txt | more data | + | name | content | + | file1.txt | some data | + | file2.txt | other data | + | file3.txt | more data | + | .space/readme.md | space description |