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

E2E for project/namespace list view #6613

Open
catherineluse opened this issue Aug 6, 2022 · 7 comments
Open

E2E for project/namespace list view #6613

catherineluse opened this issue Aug 6, 2022 · 7 comments
Labels
area/e2e area/test Test (e2e and unit) kind/tech-debt Technical debt QA/None size/8 Size Estimate 8
Milestone

Comments

@catherineluse
Copy link
Contributor

catherineluse commented Aug 6, 2022

Test cases for namespace filtering

Basic filtering

  • When a user selects a namespace in the top nav of cluster explorer, then goes to the list view of a namespaced resource such as Deployments, confirm that only resources in the selected namespaces are listed.
  • After refreshing the page, the namespace filter is still persisted.

Adding and deleting namespaces and projects

  • When the user creates or deletes a namespace, the Projects/Namespaces list view is immediately updated.
  • When the user creates or deletes a project, the Projects/Namespaces list view is immediately updated.
  • When a user creates a namespace in a project, the list view immediately updates to show the namespace in the project.
  • When a project is deleted, and the user chooses to delete the namespaces within the project, both the project and the namespaces are removed from the list view.
  • When a project is deleted, and the user chooses not to delete the namespaces within the project, the namespaces are moved to "Not in a Project."

System namespaces

Namespaces not in a project

  • The "Not in a project" group of namespaces is visible to admins and cluster owners, but not project owners or project members.
  • When a cluster owner or admin deletes a project, they can choose to delete the namespaces inside it or not. After the project is deleted, they can see the namespaces that used to be in the project grouped under "Not in a Project."
  • When a project owner or project member deletes a project, they have to delete all the namespaces in the project as well.
  • When a project owner or project member turns on the developer tools in the user preferences, they can see any namespaces that are not in a project.
  • Only admins and cluster owners can create a namespace that is not in a project.

Empty projects

  • When the user selects "All Namespaces" or "Only User Namespaces" in the top nav, the Projects/Namespaces list page also includes empty projects.
  • When the user selects specific projects or namespaces in the top nav, empty namespaces are not shown.
@richard-cox
Copy link
Member

The Epinio namespace filter is covered by epinio/epinio-end-to-end-tests#213

@aalves08
Copy link
Member

aalves08 commented Aug 9, 2022

added some test cases for Workspaces (Fleet)

@mantis-toboggan-md
Copy link
Member

Added some test cases for Harvester

@cnotv
Copy link
Contributor

cnotv commented Nov 16, 2022

I've updated the list of tests based on the project structure.

@gaktive gaktive changed the title Namespace filtering tests E2E for project/namespace list view Nov 16, 2022
@gaktive
Copy link
Member

gaktive commented Nov 16, 2022

Upon discussion with @catherineluse, we need to split this ticket in manageable chunks, namely 3.

@gaktive
Copy link
Member

gaktive commented Feb 2, 2023

I'll split this into smaller tickets.

@cnotv
Copy link
Contributor

cnotv commented Feb 2, 2023

Please keep in mind that @manuelecarlini is redesigning some points and may be convenient to match possible reworks with the list above.

@gaktive gaktive added the QA/None label May 8, 2023
@nwmac nwmac modified the milestones: v2.7.next2, v2.7.next3 May 9, 2023
@gaktive gaktive modified the milestones: v2.7.next3, v2.7.next4 Jun 8, 2023
@nwmac nwmac modified the milestones: v2.8.0, v2.8.next1 Aug 15, 2023
@nwmac nwmac modified the milestones: v2.8.next1, v2.8.next2 Nov 17, 2023
@nwmac nwmac modified the milestones: v2.8.next2, v2.10.0 Feb 27, 2024
@gaktive gaktive removed their assignment May 15, 2024
@nwmac nwmac modified the milestones: v2.10.0, v2.11.0 Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/e2e area/test Test (e2e and unit) kind/tech-debt Technical debt QA/None size/8 Size Estimate 8
Projects
None yet
Development

No branches or pull requests

7 participants