-
Notifications
You must be signed in to change notification settings - Fork 34
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
Conversation
Pull Request ReportPR Title❌ Title should follow the conventional commit spec: Example: Live demo linksBundle Size
SSR Progress
Detailed logssearch : buildInteractiveResultsearch : buildInteractiveInstantResult search : buildInteractiveRecentResult search : buildInteractiveCitation search : buildGeneratedAnswer recommendation : missing SSR support case-assist : missing SSR support insight : missing SSR support commerce : missing SSR support |
packages/quantic/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/pageObject.ts
Outdated
Show resolved
Hide resolved
packages/quantic/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/pageObject.ts
Outdated
Show resolved
Hide resolved
...ntic/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/quanticBreadcrumbManager.e2e.ts
Outdated
Show resolved
Hide resolved
...ntic/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/quanticBreadcrumbManager.e2e.ts
Outdated
Show resolved
Hide resolved
...rce-app/main/default/lwc/quanticBreadcrumbManager/__tests__/quanticBreadcrumbManager.test.js
Outdated
Show resolved
Hide resolved
...rce-app/main/default/lwc/quanticBreadcrumbManager/__tests__/quanticBreadcrumbManager.test.js
Outdated
Show resolved
Hide resolved
...rce-app/main/default/lwc/quanticBreadcrumbManager/__tests__/quanticBreadcrumbManager.test.js
Show resolved
Hide resolved
There was a problem hiding this 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
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.