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

Test files:transfer-ownership via CLI #188

Open
davitol opened this issue Mar 30, 2016 · 6 comments
Open

Test files:transfer-ownership via CLI #188

davitol opened this issue Mar 30, 2016 · 6 comments
Labels
Milestone

Comments

@davitol
Copy link
Contributor

davitol commented Mar 30, 2016

'Files transfer ownership' Test Plan

Testing functionality

Test Case Expected Result Result Related Comment
files:transfer-ownership
Transfer files/folder ownership with shares and federated shares included from user1 to user2 The files/folders are transferred to user2 and they do not appear for user1 any longer
Try to transfer files/folder ownership with shares and federated shares included from user1 to user2, user1 does not exist in the server An error message related to user1 is shown
Try to transfer files/folder ownership from user1 to user2, user2 does not exist in the server An error message related to user2 is shown
Transfer files/folder ownership with shares and federated shares included from shibboleth to regular user The files/folders are transferred to regular user and they do not appear for shibboleth user any longer 🚧
Transfer files/folder ownership with shares and federated shares included from regular to shibboleth user The files/folders are transferred to shibboleth user and they do not appear for regular user any longer 🚧
Transfer files/folder ownership with shares and federated shares included from LDAP user (user id) to regular user The files/folders are transferred to regular user and they do not appear for LDAP user any longer
Transfer files/folder ownership with shares and federated shares included from regular user to LDAP user (user id) The files/folders are transferred to regular user and they do not appear for LDAP user any longer
Transfer from user1 to user2, both users are in group "group1" The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". "User1" shares folder with files with "user2" and "user3" The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". "User1" shares subfolder with files with "user2" and "user3" The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". "User1" shares subfolder with files with "user2" and "user3" The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". check that share permissions are kept The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". "User1" shares folder with group "group1" (in which the user is member) The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". "User1" shares folder with group "group1" (in which the user is not member) The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". "User1" shares folder with group "group1", "user2" renamed target folder The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". "User1" has link share The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". "User1" is recipient of local shares => incoming shares not kept The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". "User1" is recipient of fed shares => incoming shares not kept The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
Transfer from user1 to user2, both users are in group "group1". "User1" has outgoing fed shares => they are still accessible after transfer The files/folders are transferred to user2 and they do not appear for user1 any longer
Transfer from user1 to user2, both users are in group "group1". Metadata still exists (activity, system tags, comments) The files/folders are transferred to user2 and they do not appear for user1 any longer
Transfer from user1 to user2, both users are in group "group1". Favorite information not kept for target user (?) The files/folders are transferred to user2 and they do not appear for user1 any longer
Transfer from user1 to user2, both users are in group "group1". Non-decrypted encrypted files The files/folders are transferred to user2 and they do not appear for user1 any longer
Transfer from user1 to user2, both users are in group "group1". Transfer after manually decrypting files The files/folders are transferred to user2 and they do not appear for user1 any longer 🚧
@davitol davitol added the Server label Mar 30, 2016
@davitol davitol added this to the Core - 9.0.1 - current milestone Mar 30, 2016
@davitol davitol modified the milestones: Core - 9.1.0, Core - 9.0.1 - current Apr 13, 2016
@PVince81
Copy link
Contributor

PVince81 commented Nov 2, 2016

Please also add the following test cases if we don't have them already:

@PVince81
Copy link
Contributor

PVince81 commented Nov 2, 2016

@PVince81
Copy link
Contributor

PVince81 commented Nov 3, 2016

Would be cool if this could be implemented as an integration test. One challenge is adding utility functions to invoke a CLI command from a behat scenario: never done this before, might need proc_open and also a way to capture and examine the result.

@PVince81
Copy link
Contributor

PVince81 commented Nov 3, 2016

Here is an attempt at providing a base for behat tests for it: owncloud/core#26543

@PVince81
Copy link
Contributor

PVince81 commented Apr 6, 2017

  • automated test that comments are preserved
  • automated test that system tags are preserved

@PVince81
Copy link
Contributor

PVince81 commented Apr 6, 2017

@davitol when you have time please compare your test plan with the automated tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants