fix: QAB - Error shows up when submitting split distance expense via split manual shortcut in QAB.#51931
Conversation
…split manual shortcut in QAB. Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Reviewer Checklist
Screenshots/VideosAndroid: Native51931.Android.mp4Android: mWeb Chrome51931.mWeb-Chrome.mp4iOS: Native51931.iOS.moviOS: mWeb Safari51931.mWeb-Safari.movMacOS: Chrome / Safari51931.Web.mp4MacOS: Desktop51931.Desktop.mp4 |
mollfpr
left a comment
There was a problem hiding this comment.
LGTM!
There's one jest failed, but it's not failing when I run the script on my machine. @Krishna2323 maybe we can solve this with pull the main?
|
@mollfpr, jest unit tests passed. We can move ahead. |
mollfpr
left a comment
There was a problem hiding this comment.
Tested on latest commit and still looks good!
neil-marcellini
left a comment
There was a problem hiding this comment.
Looks good, thanks. I'm changing the QA steps so that we actually run the exact steps of the issue, splitting manually, using the QAB, then switching it to distance. I think it's important to test the exact bug. Luckily C+ did and it seems to work well.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/neil-marcellini in version: 9.0.58-0 🚀
|
|
Original KI is not fixed #50694 |
|
@kavimuru I think it has a different root cause and should be handled separately. Currently, the split distance seems not working well not just from the QAB. Screen.Recording.2024-11-07.at.11.53.35.mp4 |
|
Hey @neil-marcellini, I'm not holding deploy on this, but can we make sure an issue is created and triaged for this ^, thanks |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.58-2 🚀
|
Explanation of Change
QAB, the confirmation page was skipped andIOU.splitBillwas called instead ofIOU.createDistanceRequestwhich was failing.Fixed Issues
$ #50694
PROPOSAL: #50694 (comment)
Tests
Submit {amount}buttonOffline tests
Submit {amount}buttonQA Steps
Submit {amount}buttonPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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_native.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4