Skip to content

Commit 307589c

Browse files
Merge pull request #11252 from owncloud/test/shareNg-10077
[tests-only][full-ci] add missing property createdDateTime while listing permissions of space using root endpoint
2 parents 7cde208 + cd0a54f commit 307589c

File tree

2 files changed

+36
-16
lines changed

2 files changed

+36
-16
lines changed

tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md

+7
Original file line numberDiff line numberDiff line change
@@ -371,5 +371,12 @@ The expected failures in this file are from features in the owncloud/ocis repo.
371371
- [apiContract/propfindShares.feature:223](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiContract/propfindShares.feature#L223)
372372
- [apiContract/propfindShares.feature:224](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiContract/propfindShares.feature#L224)
373373

374+
#### [Creation date is missing for space members](https://github.com/owncloud/ocis/issues/10077)
375+
- [apiSharingNgPermissions/listPermissions.feature:874](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSharingNgPermissions/listPermissions.feature#L874)
376+
- [apiSharingNgPermissions/listPermissions.feature:1548](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSharingNgPermissions/listPermissions.feature#L1548)
377+
- [apiSharingNgPermissions/listPermissions.feature:1549](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSharingNgPermissions/listPermissions.feature#L1549)
378+
- [apiSharingNgPermissions/listPermissions.feature:1550](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSharingNgPermissions/listPermissions.feature#L1550)
379+
- [apiSharingNgPermissions/listPermissions.feature:2263](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSharingNgPermissions/listPermissions.feature#L2263)
380+
374381
Note: always have an empty line at the end of this file.
375382
The bash script that processes this file requires that the last line has a newline on the end.

tests/acceptance/features/apiSharingNgPermissions/listPermissions.feature

+29-16
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ Feature: List a sharing permissions
870870
| sharee | Brian |
871871
| shareType | user |
872872

873-
@issues-8351
873+
@issues-8351 @issue-10077
874874
Scenario: user lists permissions of a project space using root endpoint
875875
Given using spaces DAV path
876876
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
@@ -922,7 +922,8 @@ Feature: List a sharing permissions
922922
"@libre.graph.weight",
923923
"description",
924924
"displayName",
925-
"id"
925+
"id",
926+
"createdDateTime"
926927
],
927928
"properties": {
928929
"@libre.graph.weight": {
@@ -945,7 +946,8 @@ Feature: List a sharing permissions
945946
"@libre.graph.weight",
946947
"description",
947948
"displayName",
948-
"id"
949+
"id",
950+
"createdDateTime"
949951
],
950952
"properties": {
951953
"@libre.graph.weight": {
@@ -968,7 +970,8 @@ Feature: List a sharing permissions
968970
"@libre.graph.weight",
969971
"description",
970972
"displayName",
971-
"id"
973+
"id",
974+
"createdDateTime"
972975
],
973976
"properties": {
974977
"@libre.graph.weight": {
@@ -1263,7 +1266,7 @@ Feature: List a sharing permissions
12631266
}
12641267
"""
12651268

1266-
1269+
@issue-10077
12671270
Scenario Outline: sharer lists permissions of a shared project space using root endpoint
12681271
Given using spaces DAV path
12691272
And user "Brian" has been created with default attributes
@@ -1326,7 +1329,8 @@ Feature: List a sharing permissions
13261329
"@libre.graph.weight",
13271330
"description",
13281331
"displayName",
1329-
"id"
1332+
"id",
1333+
"createdDateTime"
13301334
],
13311335
"properties": {
13321336
"@libre.graph.weight": {
@@ -1349,7 +1353,8 @@ Feature: List a sharing permissions
13491353
"@libre.graph.weight",
13501354
"description",
13511355
"displayName",
1352-
"id"
1356+
"id",
1357+
"createdDateTime"
13531358
],
13541359
"properties": {
13551360
"@libre.graph.weight": {
@@ -1372,7 +1377,8 @@ Feature: List a sharing permissions
13721377
"@libre.graph.weight",
13731378
"description",
13741379
"displayName",
1375-
"id"
1380+
"id",
1381+
"createdDateTime"
13761382
],
13771383
"properties": {
13781384
"@libre.graph.weight": {
@@ -1404,7 +1410,8 @@ Feature: List a sharing permissions
14041410
"required": [
14051411
"grantedToV2",
14061412
"id",
1407-
"roles"
1413+
"roles",
1414+
"createdDateTime"
14081415
],
14091416
"properties": {
14101417
"grantedToV2": {
@@ -1446,7 +1453,8 @@ Feature: List a sharing permissions
14461453
"required": [
14471454
"grantedToV2",
14481455
"id",
1449-
"roles"
1456+
"roles",
1457+
"createdDateTime"
14501458
],
14511459
"properties": {
14521460
"grantedToV2": {
@@ -1488,7 +1496,8 @@ Feature: List a sharing permissions
14881496
"required": [
14891497
"hasPassword",
14901498
"id",
1491-
"link"
1499+
"link",
1500+
"createdDateTime"
14921501
],
14931502
"properties": {
14941503
"hasPassword": {
@@ -2250,7 +2259,7 @@ Feature: List a sharing permissions
22502259
}
22512260
"""
22522261

2253-
2262+
@env-config @issue-10077
22542263
Scenario: user lists permissions of a space after enabling 'Space Editor Without Versions' role
22552264
Given the administrator has enabled the permissions role "Space Editor Without Versions"
22562265
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
@@ -2279,7 +2288,8 @@ Feature: List a sharing permissions
22792288
"@libre.graph.weight",
22802289
"description",
22812290
"displayName",
2282-
"id"
2291+
"id",
2292+
"createdDateTime"
22832293
],
22842294
"properties": {
22852295
"displayName": {
@@ -2293,7 +2303,8 @@ Feature: List a sharing permissions
22932303
"@libre.graph.weight",
22942304
"description",
22952305
"displayName",
2296-
"id"
2306+
"id",
2307+
"createdDateTime"
22972308
],
22982309
"properties": {
22992310
"@libre.graph.weight": {
@@ -2316,7 +2327,8 @@ Feature: List a sharing permissions
23162327
"@libre.graph.weight",
23172328
"description",
23182329
"displayName",
2319-
"id"
2330+
"id",
2331+
"createdDateTime"
23202332
],
23212333
"properties": {
23222334
"displayName": {
@@ -2330,7 +2342,8 @@ Feature: List a sharing permissions
23302342
"@libre.graph.weight",
23312343
"description",
23322344
"displayName",
2333-
"id"
2345+
"id",
2346+
"createdDateTime"
23342347
],
23352348
"properties": {
23362349
"displayName": {

0 commit comments

Comments
 (0)