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 tests for MultiTypeaheadSelect #21417

Merged

Conversation

mvollmer
Copy link
Member

No description provided.

@mvollmer mvollmer added the no-test For doc/workflow changes, or experiments which don't need a full CI run, label Dec 10, 2024
@mvollmer mvollmer force-pushed the test-multi-typeahead-tests branch 2 times, most recently from b1be1df to 30583d3 Compare December 10, 2024 08:17
@mvollmer mvollmer removed the no-test For doc/workflow changes, or experiments which don't need a full CI run, label Dec 10, 2024
@mvollmer mvollmer force-pushed the test-multi-typeahead-tests branch from 30583d3 to d4982b8 Compare December 10, 2024 15:07
@mvollmer mvollmer marked this pull request as ready for review December 10, 2024 15:07
@mvollmer mvollmer requested a review from jelly December 10, 2024 15:07
@martinpitt
Copy link
Member

@mvollmer This failure is relevant, the other two reds are flakes.

@martinpitt
Copy link
Member

This will conflict with #21356 as that also updates pixels. But that one is ready and more intrusive, so let's land that first.

@mvollmer
Copy link
Member Author

@mvollmer This failure is relevant, the other two reds are flakes.

Grr. MultiTypeaheadSelect seems to have some bugs re useEffect that are not in TypeaheadSelect, although they are doing the same thing...

I am running out of effs to give, would have been easier to write this all from scratch than to start with the templates. Let's just fix the test to avoid the problem. :-/

@mvollmer mvollmer added the no-test For doc/workflow changes, or experiments which don't need a full CI run, label Dec 11, 2024
@mvollmer mvollmer force-pushed the test-multi-typeahead-tests branch 2 times, most recently from 24f6bff to 914a128 Compare December 11, 2024 12:49
@martinpitt
Copy link
Member

Thanks! This looks nice, but is conflicty and no-test.

@mvollmer mvollmer force-pushed the test-multi-typeahead-tests branch from 914a128 to 6f19af4 Compare December 17, 2024 10:26
@mvollmer mvollmer removed the no-test For doc/workflow changes, or experiments which don't need a full CI run, label Dec 17, 2024
@mvollmer mvollmer force-pushed the test-multi-typeahead-tests branch from 6f19af4 to d0e0bf9 Compare December 17, 2024 10:59
Comment on lines +159 to +160
if (!isOpen) {
openMenu();
Copy link
Contributor

Choose a reason for hiding this comment

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

These 2 added lines are not executed by any test.

Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

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

Cheers!

@martinpitt martinpitt merged commit 62cb92d into cockpit-project:main Dec 18, 2024
83 of 85 checks passed
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.

3 participants