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

fix(ui): ensure unhandled exceptions are not suppressed in tests #4448

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gustavosbarreto
Copy link
Member

Removed errorHandler configuration from test components to
allow unhandled exceptions to surface during tests.
This prevents silent error suppression and ensures test
failures are properly reported.

Removed `errorHandler` configuration from test components to
allow unhandled exceptions to surface during tests.
This prevents silent error suppression and ensures test
failures are properly reported.
@gustavosbarreto gustavosbarreto requested a review from a team as a code owner December 18, 2024 19:46
…pport

Added tagsApi integration across public key and firewall rule components to
fetch tag data.

Improved test coverage by mocking tagsApi responses in PublicKeyAdd,
PublicKeyEdit, FirewallRuleAdd, and FirewallRuleEdit test specs.

Exposed getPublicKeysList in PublicKeysList to support improved
key management.

Simplified the fetchPublicKeys function by removing redundant logic.

Updated handleError utility to log errors only outside the test environment.

Removed unnecessary store commits in NamespaceEdit test and improved test
reliability for form actions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants