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

Frontend: Settings: refactor and test Rename Cluster #2871

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Faakhir30
Copy link
Contributor

@Faakhir30 Faakhir30 commented Feb 7, 2025

Fixes #2198

Tasks Done:

  • app: tests: added e2e test for cluster renaming.
  • frontend: Settings: Added stories for rename cluster component.
  • frontend: Stateless: Added mocked tests for updateStatelessClusterKubeconfig.
  • frontend: Settings: refactored cluster rename functionality.

Some observations:

(might need confirmation from maintainers)

  • This rename cluster feature is only enabled for electron environments, therefore I've added e2e-test to app dir.
  • After inserting a valid name, if user press Enter instead of clicking Apply, there is no confirmation dialog/modal opening, directly cluster name is updated and Page reloads sucessfully.

@Faakhir30 Faakhir30 force-pushed the test_rename_settings branch from ff73cc9 to b6b6fa9 Compare February 8, 2025 15:52
@Faakhir30 Faakhir30 marked this pull request as ready for review February 8, 2025 16:16
@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Feb 8, 2025
@illume illume requested review from a team and yolossn February 10, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rename cluster frontend tests
1 participant