Fix: Scan- After uploading a corrupted file, user needs to dismiss error from 2 reports#38397
Conversation
…ror from 2 reports
…upted-file,-user-needs-to-dismiss-error-from-2-reports
…upted-file,-user-needs-to-dismiss-error-from-2-reports
|
@rayane-djouah screencasts for iOS are missing. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-2.webmAndroid: mWeb Chromeandroid-1.webmiOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-03-18.at.17.39.10.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-03-18.at.17.37.08.mp4MacOS: Chrome / SafariScreen.Recording.2024-03-18.at.15.14.56.movMacOS: DesktopScreen.Recording.2024-03-18.at.18.30.33.mov |
|
Adding some points that aren't raised from this PR but just mentioning what I have noticed.
Main Screen.Recording.2024-03-19.at.19.14.55.movThis PR Screen.Recording.2024-03-18.at.15.13.36.mov |
…upted-file,-user-needs-to-dismiss-error-from-2-reports
@rayane-djouah Please add these and then I will approve. |
Sorry for the delay, I'm having some issues with my ios simulator, I will add them as soon as I fix it. |
Np, I have added it in my review so you can add it later once your simulator issue gets fixed. |
Works well. Screen.Recording.2024-03-18.at.15.23.47.mov |
|
Looks good otherwise |
Co-authored-by: Monil Bhavsar <monilbhavsar25@gmail.com>
|
✋ 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/MonilBhavsar in version: 1.4.56-0 🚀
|
|
@rayane-djouah @Pujan92 we've got regression issue here #38845 |
|
@MonilBhavsar I don't think that issue is a regression from this PR because we haven't touched any conditional iou rendering part, we have only fixed the error messages. |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.56-8 🚀
|
Details
Fixed Issues
$ #37502
PROPOSAL: #37502 (comment)
Tests
Log in in the app
Start the Request money, "Scan" receipt flow
Upload a corrupted file, example:
, you can use an online tool to corrupt a file (example: https://corrupt-a-file.net/)
Verify that after the upload fails the user sees a RBR in iou report preview
Verify that the error message explaining that the file was not uploaded is displayed only in the iou action that correspond to the receipt request.
Offline tests
N/A
QA Steps
Same as tests.
PR 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
We can not upload a corrupted file:Recording.2024-03-16.012842.mp4
Android: mWeb Chrome
Recording.2024-03-16.004318.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Recording.2024-03-16.001830.mp4
MacOS: Desktop
Recording.2024-03-16.003658.mp4