diff --git a/tests/acceptance/features/apiSpaces/moveSpaces.feature b/tests/acceptance/features/apiSpaces/moveSpaces.feature index 42ef008603f..140bdbe0d8b 100644 --- a/tests/acceptance/features/apiSpaces/moveSpaces.feature +++ b/tests/acceptance/features/apiSpaces/moveSpaces.feature @@ -50,15 +50,15 @@ Feature: move (rename) file And user "Brian" has shared a space "Project2" to user "Alice" with role "" And user "Brian" has shared a space "Project1" to user "Alice" with role "" When user "Alice" moves file "project1.txt" from space "Project1" to "project1.txt" inside space "Project2" using the WebDAV API - Then the HTTP status code should be "502" + Then the HTTP status code should be "" Examples: - | from_role | to_role | - | manager | manager | - | editor | manager | - | manager | editor | - | editor | editor | - | manager | viewer | - | editor | viewer | + | from_role | to_role | https_status_code | + | manager | manager | 502 | + | editor | manager | 502 | + | manager | editor | 502 | + | editor | editor | 502 | + | manager | viewer | 403 | + | editor | viewer | 403 | Scenario Outline: User move a file from a space project with viewer role to a space project with different role @@ -127,12 +127,12 @@ Feature: move (rename) file And user "Brian" has shared a space "Project" to user "Alice" with role "" And user "Alice" has uploaded file with content "personal space content" to "/personal.txt" When user "Alice" moves file "personal.txt" from space "Personal" to "personal.txt" inside space "Project" using the WebDAV API - Then the HTTP status code should be "502" + Then the HTTP status code should be "" Examples: - | role | - | manager | - | editor | - | viewer | + | role | https_status_code | + | manager | 502 | + | editor | 502 | + | viewer | 403 | Scenario Outline: User move a file from space personal to space shares jail with different role (permission)