-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[NOQA] Perf: update filterAndOrderOptions test cases to ensure fuller coverage #57176
[NOQA] Perf: update filterAndOrderOptions test cases to ensure fuller coverage #57176
Conversation
@ishpaul777 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
recheck |
…ction with larger amount of data
fe730a7
to
4349965
Compare
Reviewer Checklist
Screenshots/VideosAndroid: NativeNo need test changes only Android: mWeb ChromeNo need test changes only iOS: NativeNo need test changes only iOS: mWeb SafariNo need test changes only MacOS: Chrome / SafariNo need test changes only MacOS: DesktopNo need test changes only |
Accept suggestion from reviewer Co-authored-by: Ishpaul Singh <[email protected]>
@sosek108 we have lints checks failing 👇 |
Explanation of Change
This PR adds new test case for performance tests of filterAndOrderOptions function -> test case with empty search phrase to test function with larger dataset.
Additionally this PR changes the way dataset passed to tested function is created by bychanging the configuration passed to
getValidOptions
.getValidOptions
is moved frommeasureFunction
's call as it is not the subject of test.Fixed Issues
$ #57173
PROPOSAL: #57173
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop