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(menu-select): common test suite #5874

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

aymeric-giraudet
Copy link
Member

Summary

There weren't many logic tests to remove, probably because they're normally tested in the connector (so connectMenu)
Also obviously had to skip testing for React as it doesn't have MenuSelect

@aymeric-giraudet aymeric-giraudet requested review from a team, dhayab and sarahdayan and removed request for a team September 29, 2023 15:48
@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 29, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6e1d785:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

tests/common/widgets/menu-select/index.ts Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a test for cssClasses?

Copy link
Member Author

Choose a reason for hiding this comment

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

Can't find other CTS that tests this, when I change it it doesn't seem to be taken into account for vue

Copy link
Member

@dhayab dhayab Jun 6, 2024

Choose a reason for hiding this comment

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

Not in CTS, in the JS widget tests. You can look at hits or current refinements for example. We should have done it for all CTS migrated widgets but it seems we forgot a few on the way when I searched for adds custom CSS classes 😅 .

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah yes, done 👍

@aymeric-giraudet aymeric-giraudet merged commit a35b2e5 into master Jun 10, 2024
12 checks passed
@aymeric-giraudet aymeric-giraudet deleted the test/common-menu-select-tests branch June 10, 2024 08:15
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