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

feat(recommend): setup common test suite for frequentlyBoughtTogether #6143

Merged
merged 88 commits into from
Apr 24, 2024

Conversation

dhayab
Copy link
Member

@dhayab dhayab commented Apr 17, 2024

Summary

This PR adds tests for the frequentlyBoughtTogether widget in the common test suite. Only implemented in InstantSearch.js for now, as the widget hasn't been implemented in React and there won't be initially Vue widgets for Recommend.

This CTS also tests templates, which is a first, as before templates were highly flavor-specific. Because we now have a unified UI component, it is much easier. Still, I've opted to create the templates in the flavored implementation of the test suite due to the differences between templates / component props.

@dhayab dhayab requested a review from sarahdayan April 23, 2024 08:17
Base automatically changed from feat/recommend-fbt-widget to feat/map-recommend-results April 23, 2024 11:58
…er/__tests__/frequently-bought-together.test.tsx

Co-authored-by: Sarah Dayan <5370675+sarahdayan@users.noreply.github.com>
@dhayab dhayab merged commit 7fc64bc into feat/map-recommend-results Apr 24, 2024
1 of 3 checks passed
@dhayab dhayab deleted the feat/recommend-fbt-cts branch April 24, 2024 10:01
Haroenv pushed a commit that referenced this pull request May 21, 2024
…r` (#6143)

---------

Co-authored-by: Raed <raed.chammam@algolia.com>
Co-authored-by: Aymeric Giraudet <aymeric.giraudet@algolia.com>
Co-authored-by: Sarah Dayan <5370675+sarahdayan@users.noreply.github.com>
dhayab added a commit that referenced this pull request May 21, 2024
---------

Co-authored-by: Raed <raed.chammam@algolia.com>
Co-authored-by: Aymeric Giraudet <aymeric.giraudet@algolia.com>
Co-authored-by: Sarah Dayan <5370675+sarahdayan@users.noreply.github.com>
dhayab added a commit that referenced this pull request May 21, 2024
---------

Co-authored-by: Raed <raed.chammam@algolia.com>
Co-authored-by: Aymeric Giraudet <aymeric.giraudet@algolia.com>
Co-authored-by: Sarah Dayan <5370675+sarahdayan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Recommendations Providing recommendations of records or facets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants