Removed failing ocs scenarios, removed from expected failure

This commit is contained in:
Prarup Gurung
2024-06-20 15:12:35 +05:45
parent 7f7e847f8e
commit 645a64c826
2 changed files with 28 additions and 130 deletions
@@ -116,10 +116,6 @@ _ocdav: api compatibility, return correct status code_
- [coreApiAuth/webDavPUTAuth.feature:46](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavPUTAuth.feature#L46) - [coreApiAuth/webDavPUTAuth.feature:46](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavPUTAuth.feature#L46)
- [coreApiAuth/webDavPUTAuth.feature:58](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavPUTAuth.feature#L58) - [coreApiAuth/webDavPUTAuth.feature:58](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavPUTAuth.feature#L58)
#### [Difference in response content of status.php and default capabilities](https://github.com/owncloud/ocis/issues/1286)
- [coreApiCapabilities/capabilitiesWithNormalUser.feature:13](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiCapabilities/capabilitiesWithNormalUser.feature#L13)
#### [[old/new/spaces] In ocis and oc10, REPORT request response differently](https://github.com/owncloud/ocis/issues/4712) #### [[old/new/spaces] In ocis and oc10, REPORT request response differently](https://github.com/owncloud/ocis/issues/4712)
- [coreApiWebdavOperations/search.feature:208](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavOperations/search.feature#L208) - [coreApiWebdavOperations/search.feature:208](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavOperations/search.feature#L208)
@@ -18,9 +18,7 @@ Feature: default capabilities for normal user
""" """
{ {
"type": "object", "type": "object",
"required": [ "required": [ "capabilities" ],
"capabilities"
],
"properties": { "properties": {
"capabilities": { "capabilities": {
"type": "object", "type": "object",
@@ -39,16 +37,10 @@ Feature: default capabilities for normal user
], ],
"properties": { "properties": {
"pollinterval": { "pollinterval": {
"type": "integer", "const": 60
"enum": [
30000
]
}, },
"webdav-root": { "webdav-root": {
"type": "string", "const": "remote.php/webdav"
"enum": [
"remote.php/webdav"
]
}, },
"status": { "status": {
"type": "object", "type": "object",
@@ -60,28 +52,16 @@ Feature: default capabilities for normal user
], ],
"properties": { "properties": {
"version": { "version": {
"type": "string", "const": "%version%"
"enum": [
"%version%"
]
}, },
"versionstring": { "versionstring": {
"type": "string", "const": "%versionstring%"
"enum": [
"%versionstring%"
]
}, },
"edition": { "edition": {
"type": "string", "const": "%edition%"
"enum": [
"%edition%"
]
}, },
"productname": { "productname": {
"type": "string", "const": "%productname%"
"enum": [
"%productname%"
]
} }
} }
} }
@@ -91,27 +71,14 @@ Feature: default capabilities for normal user
"type": "object", "type": "object",
"required": [ "required": [
"bigfilechunking", "bigfilechunking",
"privateLinks", "privateLinks"
"privateLinksDetailsParam"
], ],
"properties": { "properties": {
"bigfilechunking": { "bigfilechunking": {
"type": "boolean", "const": false
"enum": [
true
]
}, },
"privateLinks": { "privateLinks": {
"type": "boolean", "const": true
"enum": [
true
]
},
"privateLinksDetailsParam": {
"type": "boolean",
"enum": [
true
]
} }
} }
}, },
@@ -120,7 +87,6 @@ Feature: default capabilities for normal user
"required": [ "required": [
"api_enabled", "api_enabled",
"default_permissions", "default_permissions",
"search_min_length",
"public", "public",
"resharing", "resharing",
"federation", "federation",
@@ -132,22 +98,10 @@ Feature: default capabilities for normal user
], ],
"properties": { "properties": {
"api_enabled": { "api_enabled": {
"type": "boolean", "const": true
"enum": [
true
]
}, },
"default_permissions": { "default_permissions": {
"type": "integer", "const": 22
"enum": [
31
]
},
"search_min_length": {
"type": "integer",
"enum": [
2
]
}, },
"public": { "public": {
"type": "object", "type": "object",
@@ -157,59 +111,31 @@ Feature: default capabilities for normal user
"upload", "upload",
"supports_upload_only", "supports_upload_only",
"send_mail", "send_mail",
"social_share", "social_share"
"defaultPublicLinkShareName"
], ],
"properties": { "properties": {
"enabled": { "enabled": {
"type": "boolean", "const": true
"enum": [
true
]
}, },
"multiple": { "multiple": {
"type": "boolean", "const": true
"enum": [
true
]
}, },
"upload": { "upload": {
"type": "boolean", "const": true
"enum": [
true
]
}, },
"supports_upload_only": { "supports_upload_only": {
"type": "boolean", "const": true
"enum": [
true
]
}, },
"send_mail": { "send_mail": {
"type": "boolean", "const": true
"enum": [
false
]
}, },
"social_share": { "social_share": {
"type": "boolean", "const": true
"enum": [
true
]
},
"defaultPublicLinkShareName": {
"type": "string",
"enum": [
"Public link"
]
} }
} }
}, },
"resharing": { "resharing": {
"type": "boolean", "const": false
"enum": [
true
]
}, },
"federation": { "federation": {
"type": "object", "type": "object",
@@ -219,42 +145,24 @@ Feature: default capabilities for normal user
], ],
"properties": { "properties": {
"outgoing": { "outgoing": {
"type": "boolean", "const": false
"enum": [
true
]
}, },
"incoming": { "incoming": {
"type": "boolean", "const": false
"enum": [
true
]
} }
} }
}, },
"group_sharing": { "group_sharing": {
"type": "boolean", "const": true
"enum": [
true
]
}, },
"share_with_group_members_only": { "share_with_group_members_only": {
"type": "boolean", "const": true
"enum": [
false
]
}, },
"share_with_membership_groups_only": { "share_with_membership_groups_only": {
"type": "boolean", "const": true
"enum": [
false
]
}, },
"auto_accept_share": { "auto_accept_share": {
"type": "boolean", "const": true
"enum": [
true
]
}, },
"user_enumeration": { "user_enumeration": {
"type": "object", "type": "object",
@@ -264,16 +172,10 @@ Feature: default capabilities for normal user
], ],
"properties": { "properties": {
"enabled": { "enabled": {
"type": "boolean", "const": true
"enum": [
true
]
}, },
"group_members_only": { "group_members_only": {
"type": "boolean", "const": true
"enum": [
false
]
} }
} }
} }