-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
4.5.0 Sprint 6, 4.5.0 Sprint 7
Depends on AAH-1190 - galaxykit support for deletions of collections, collection versions, namespaces, containers, images and registries
Depends on AAH-1191 - galaxykit user create support for extra fields
Depends on AAH-1193 - galaxykit support other commands we're missing
We have a couple of Cypress helpers that should be only used by specific UI tests, but end up used by unrelated tests for data setup. (Eg. a `createUser` UI helper can still exist, SHOULD be used by user edit specs, but SHOULD NOT be used by container list tests or such)
Replace all uses of these helpers in unrelated specs with a galaxykit call,
and move any helpers only used by only 1 spec file into that spec file.
(No helpers should actually be removed, just ..unhelpered.)
- createUser - user create + user group add
- createGroup - group create
- addPermissions - group perm add
- removePermissions - group perm remove
- addUserToGroup - user group add
- removeUserFromGroup - (
AAH-1193`user group remove <user> <group>`) - deleteUser - user delete
- deleteGroup - group delete
- addRemoteRegistry - (
AAH-1193`registry create <name> <url>`) - addRemoteContainer - (
AAH-1193`container remote add`?)
(NOT addLocalContainer - that one is calling podman, not the API) - syncRemoteContainer - (
AAH-1193`container sync <name>`?) - deleteRegistries - registry delete
- deleteContainers - container delete
Also go through spec files, and add calls to clean up collections & namespaces in any spec with a `before` that's creating any of those. (Not limited to collections and namespaces, but those definitely exist now.)