Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests-only]Add spaces tests on Share Operations features #39710

Merged
merged 1 commit into from
Jan 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received file with edit and reshare permissions
Given using <dav-path> DAV path
Expand All @@ -38,6 +43,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received group shared file with edit and reshare permissions
Given using <dav-path> DAV path
Expand All @@ -59,6 +69,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |

@issue-ocis-2213
Scenario Outline: Correct webdav share-permissions for received file with edit permissions but no reshare permissions
Given using <dav-path> DAV path
Expand All @@ -73,6 +88,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |

@issue-ocis-2213
Scenario Outline: Correct webdav share-permissions for received group shared file with edit permissions but no reshare permissions
Given using <dav-path> DAV path
Expand All @@ -94,6 +114,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |

@issue-ocis-2213
Scenario Outline: Correct webdav share-permissions for received file with reshare permissions but no edit permissions
Given using <dav-path> DAV path
Expand All @@ -108,6 +133,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received group shared file with reshare permissions but no edit permissions
Given using <dav-path> DAV path
Expand All @@ -129,6 +159,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for owned folder
Given using <dav-path> DAV path
Expand All @@ -142,6 +177,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received folder with all permissions
Given using <dav-path> DAV path
Expand All @@ -157,6 +197,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received group shared folder with all permissions
Given using <dav-path> DAV path
Expand All @@ -177,6 +222,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |

@issue-ocis-2213
Scenario Outline: Correct webdav share-permissions for received folder with all permissions but edit
Given using <dav-path> DAV path
Expand All @@ -191,6 +241,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received group shared folder with all permissions but edit
Given using <dav-path> DAV path
Expand All @@ -212,6 +267,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received folder with all permissions but create
Given using <dav-path> DAV path
Expand All @@ -226,6 +286,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received group shared folder with all permissions but create
Given using <dav-path> DAV path
Expand All @@ -247,6 +312,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received folder with all permissions but delete
Given using <dav-path> DAV path
Expand All @@ -261,6 +331,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received group shared folder with all permissions but delete
Given using <dav-path> DAV path
Expand All @@ -282,6 +357,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received folder with all permissions but share
Given using <dav-path> DAV path
Expand All @@ -296,6 +376,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Correct webdav share-permissions for received group shared folder with all permissions but share
Given using <dav-path> DAV path
Expand All @@ -316,3 +401,8 @@ Feature: sharing
| dav-path |
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Uploading file to a user upload-only share folder works
Given using <dav-path> DAV path
Expand All @@ -67,6 +72,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Uploading file to a group upload-only share folder works
Given using <dav-path> DAV path
Expand Down Expand Up @@ -95,6 +105,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |

@smokeTest
Scenario Outline: Uploading file to a user read/write share folder works
Given using <dav-path> DAV path
Expand All @@ -119,6 +134,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Uploading file to a group read/write share folder works
Given using <dav-path> DAV path
Expand All @@ -145,6 +165,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |

@smokeTest
Scenario Outline: Check quota of owners parent directory of a shared file
Given using <dav-path> DAV path
Expand All @@ -168,6 +193,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Uploading to a user shared folder with read/write permission when the sharer has unsufficient quota does not work
Given using <dav-path> DAV path
Expand All @@ -188,6 +218,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Uploading to a group shared folder with read/write permission when the sharer has unsufficient quota does not work
Given using <dav-path> DAV path
Expand All @@ -210,6 +245,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Uploading to a user shared folder with upload-only permission when the sharer has insufficient quota does not work
Given using <dav-path> DAV path
Expand All @@ -230,6 +270,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |


Scenario Outline: Uploading to a group shared folder with upload-only permission when the sharer has insufficient quota does not work
Given using <dav-path> DAV path
Expand All @@ -252,6 +297,11 @@ Feature: sharing
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav-path |
| spaces |

@notToImplementOnOCIS @newChunking @issue-ocis-1321
Scenario: Uploading a file in to a shared folder without edit permissions
Given using new DAV path
Expand Down Expand Up @@ -289,3 +339,9 @@ Feature: sharing
| dav-path | permissions |
| old | change |
| new | create |

@skipOnOcV10 @personalSpace
Examples:
| dav-path | permissions |
| spaces | change |
| spaces | create |