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(SFINT-5848): Playwright migration for QuanticBreadcrumbManager tests #4826

Merged
merged 7 commits into from
Jan 10, 2025

Conversation

erocheleau
Copy link
Collaborator

@erocheleau erocheleau commented Jan 6, 2025

SFINT-5848

We're now at 72 tests for Playwright, they run on my machine in 38.3s 🚀

I also moved a bunch of the Cypress tests we had for the QuanticBreadcrumbManager to unit tests. They mainly concerned the way we "hide" breadcrumb values when they go over a threshold behind a "Show more" button (no reason to test this via e2e as it's not even tied to the size of the container, just a threshold value)

Same thing for the tests around different options such as a custom value for the Show more threshold, and a custom delimiter for the Category facets.

Other than that I added plenty of tests for each type of facets to make sure the analytics Search event contains the correct format for the value that was de-selected using the breadcrumb X.

@erocheleau erocheleau requested a review from a team as a code owner January 6, 2025 22:35
Copy link

github-actions bot commented Jan 6, 2025

Pull Request Report

PR Title

❌ Title should follow the conventional commit spec:
<type>(optional scope): <description>

Example: feat(headless): add result-list controller

Live demo links

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 243 243 0
commerce 354.1 354.1 0
search 414 414 0
insight 405.3 405.3 0
recommendation 255.2 255.2 0
ssr 407.5 407.5 0
ssr-commerce 371.4 371.4 0

SSR Progress

Use case SSR (#) CSR (#) Progress (%)
search 39 44 89
recommendation 0 4 0
case-assist 0 6 0
insight 0 27 0
commerce 0 15 0
Detailed logs search : buildInteractiveResult
search : buildInteractiveInstantResult
search : buildInteractiveRecentResult
search : buildInteractiveCitation
search : buildGeneratedAnswer
recommendation : missing SSR support
case-assist : missing SSR support
insight : missing SSR support
commerce : missing SSR support

Copy link
Contributor

@SimonMilord SimonMilord left a comment

Choose a reason for hiding this comment

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

LGTM, just a few questions/comments to potentially improve the tests

Copy link
Contributor

@SimonMilord SimonMilord left a comment

Choose a reason for hiding this comment

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

LGTM!

@erocheleau erocheleau added this pull request to the merge queue Jan 10, 2025
Merged via the queue into master with commit cf8bb89 Jan 10, 2025
101 checks passed
@erocheleau erocheleau deleted the SFINT-5848 branch January 10, 2025 21:48
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