fix clear cached data after account switch#52822
Conversation
…ta-persists-after-account-switch
|
@getusha I am checking the reason for the unit test failure. |
|
@getusha I added a check for the test environment to skip this code because it doesn't need to be executed during testing. Without this check, the tests would fail since the test data wouldn't be added due to the lack of a session. |
|
Reviewing today! |
…ta-persists-after-account-switch
I added a unit test for this. Can you check it? |
|
@getusha 👀 above plz |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-12-18.at.5.55.58.in.the.afternoon.movAndroid: mWeb Chromescreen-recording-2024-12-03-at-92419-at-night_kvXLxOYS.mp4iOS: NativeScreen.Recording.2024-12-18.at.5.58.09.in.the.afternoon.moviOS: mWeb Safariscreen-recording-2024-12-03-at-92747-at-night_IeXEQF0U.mp4MacOS: Chrome / Safariscreen-recording-2024-12-03-at-83854-in-the-evening_aABw0lhD.mp4MacOS: Desktopscreen-recording-2024-12-18-at-60126-in-the-evening_q3ZQli3w.mp4 |
…ta-persists-after-account-switch
|
@madmax330 Could you please review this pull request? Thank you. |
|
✋ 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/madmax330 in version: 9.0.80-1 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.80-6 🚀
|
Details
Fixed Issues
$ #48427
PROPOSAL: #48427 (comment)
Tests
Same QA step
Offline tests
QA Steps
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)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
Screen.Recording.2024-11-20.at.20.57.02.mp4
Android: mWeb Chrome
Screen.Recording.2024-11-20.at.20.58.32.mp4
iOS: Native
Screen.Recording.2024-11-20.at.21.00.32.mp4
iOS: mWeb Safari
Screen.Recording.2024-11-20.at.21.02.03.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-11-20.at.21.04.34.mp4
MacOS: Desktop
Screen.Recording.2024-11-20.at.21.07.09.mp4