-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[PWA-589] Page Reset on Sort #2458
[PWA-589] Page Reset on Sort #2458
Conversation
|
Performance Test Results The following fails have been reported by WebpageTest. These numbers indicates a possible performance issue with the PR which requires further manual testing to validate. https://pr-2458.pwa-venia.com : LH Performance Expected 0.85 Actual 0.57, LH Best Practices Expected 1 Actual 0.92 |
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.
Looks good. Use case makes sense and it works in my testing. 👍
packages/peregrine/lib/talons/SearchPage/__tests__/useSearchPage.spec.js
Outdated
Show resolved
Hide resolved
] | ||
]; | ||
|
||
test.each(testCases)( |
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.
This reminds me of DataProviders in PHPUnit and I think I like it. May just have to use this pattern in the next set of tests I write, looks awesome 👌
QA approved |
Description
If a customer changes the sort criteria they would be returned to the first 'page' of the newly sorted items.
Related Issue
https://jira.corp.magento.com/browse/PWA-589
Acceptance
Verification Stakeholders
@dhaecker
@jimbo
Specification
Verification Steps
Screenshots / Screen Captures (if appropriate)
Checklist