-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[No QA] Fix flaky IOURequestEditReportCommonTest test #69398
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
Conversation
iwiznia
left a comment
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.
I am surprised we have that code to create a policy of random type. Maybe we should consider changing that too
|
Yea, that method is a bit weird. Anyways, we can clean that up in a separate PR. I'll get this one merged without the reviewer checklist since it's a simple test suite fix. |
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.2.1-0 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.1-20 🚀
|
Explanation of Change
We call
createRandomPolicyin this test without specifying the policy type, which can lead to it creating a personal policy. We filter out reports on the personal policy here, which led to the test being flaky.Fixed Issues
$ #69389
$ #69368
$ #69374
Tests
Verify that tests in
IOURequestEditReportCommonTestpass reliably.Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop