nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
143 stars 24 forks source link

Extend integration tests around Contexts #1006

Open blizzz opened 5 months ago

blizzz commented 5 months ago

Pull requests so far

Scenarios to be covered

  1. Creation

    • [x] Create context with views and tables
    • [x] Create context with inaccessible table
    • [x] Create context with inaccessible view
  2. Reading

    • [x] Read all contexts
      • [ ] also with contexts shared to "me"
    • [x] Read specific owned context
    • [x] Read inaccessible context
    • [x] Read specific shared context
    • [x] Read a non-existing context
  3. Deleting

    • [x] Delete owned context
    • [x] Delete inaccessible context
    • [x] Delete shared context
    • [x] Delete a non-existing context
  4. Updating Context

    • [x] Change name, icon, description of an owned context
    • [x] Change name, icon, description of a shared context
    • [x] Change name, icon, description of an inaccessible context
    • [x] Add table to an owned context
    • [x] Add table to a shared context
    • [x] Add table to an inaccessible context
    • [x] Add inaccessible table to an owned context
    • [x] Add inaccessible table to a shared context implicit
    • [x] Add inaccessible table to an inaccessible context
    • [x] Delete table from an owned context
    • [x] Delete table from a shared context
    • [x] Delete table from an inaccessible context
    • [x] Delete non-existing table from a context implicit
  5. Updating Context contents

    • [ ] Add row to table with permission
    • [ ] Add row to table without permission
    • [ ] Add row to view with permission
    • [ ] Add row to view without permission
    • [ ] Edit row in table with permission
    • [ ] Edit row in table without permisson
    • [ ] Edit row in view with permission
    • [ ] Edit row in view without permission
    • [ ] Delete row in table with permission
    • [ ] Delete row in table without permission
    • [ ] Add row to inaccessible table
    • [ ] Add row to inaccessible view
    • [ ] Edit row in inaccessible table
    • [ ] Edit row in inaccessible view
    • [ ] Delete row in inaccessible table
    • [ ] Delete row in inaccessible view
    • more?
  6. Transfer ownership

    • [x] Transfer an owned context
    • [x] Transfer a shared context
    • [x] Transfer an inaccessible context
  7. Sharing

    • [x] Share owned context
    • [ ] Share shared context
    • [x] Share inaccessible context