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

test: Add validation for error handling in custom components and utility function #6634

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

Conversation

Cristhianzl
Copy link
Member

This pull request introduces a new test to validate error handling in custom components and adds a utility function to facilitate the addition of these components in tests.

New test for error handling in custom components:

Utility function for adding custom components:

  • src/frontend/tests/utils/add-custom-component.ts: Added a utility function addCustomComponent to streamline the process of adding custom components in tests. This function repeatedly clicks the custom component button until the component is successfully added.

…ror messages on popups when an error is raised in custom components

📝 (add-custom-component.ts): add utility function to add custom components in tests for easier testing and validation of error messages
@Cristhianzl Cristhianzl self-assigned this Feb 14, 2025
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 14, 2025
Copy link
Contributor

@anovazzi1 anovazzi1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 14, 2025
@github-actions github-actions bot added the test Changes to tests label Feb 14, 2025
@Cristhianzl Cristhianzl added lgtm This PR has been approved by a maintainer and removed lgtm This PR has been approved by a maintainer labels Feb 14, 2025
@github-actions github-actions bot added test Changes to tests and removed test Changes to tests labels Feb 14, 2025
@Cristhianzl Cristhianzl added this pull request to the merge queue Feb 14, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files. test Changes to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants