Repository navigation
[No QA] Fix Oxlint failure on main from deprecated originalMessage in duplicate confirmation test - #105689
Conversation
Co-authored-by: mkhutornyi <mkhutornyi@users.noreply.github.com>
|
@MelvinBot add [No QA] prefix to title and mark this PR ready for review |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
@mkhutornyi 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] |
|
Done. The title now starts with |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.5.31-0 🚀
|
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.5.31-0 🚀
|
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.5.31-4 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
The
lint / Oxlint checkjob started failing onmainafter the newtests/ui/TransactionDuplicateConfirmationPageTest.tsxwas merged. The test set the IOU report action's data on the deprecatedoriginalMessagefield, which trips@typescript-eslint/no-deprecated/originalMessage. That rule is ratcheted by the seatbelt file, so new files can't add violations.This PR moves the same IOU data onto the
messagefield.getOriginalMessagereadsmessagefirst when it is an object, so the page under test sees the same data and the test behaves the same.Fixed Issues
$ #105684
PROPOSAL:
Tests
// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review"
// Please describe what tests you performed that validates your changed worked.
Offline tests
QA Steps
// TODO: The human co-author must fill out the QA tests you ran before marking this PR as "ready for review".
// Please describe what QA needs to do to validate your changes and what areas do they need to test for regressions.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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