-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
fix: Deleted room is displayed in the 'Assign task' #51625
base: main
Are you sure you want to change the base?
Conversation
@nkdengineer The subtitle isn't showing up even when the workspace is still available: |
@Ollyws i fixed this bug |
Reviewer Checklist
Screenshots/Videos |
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.
LGTM.
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.
Can you please add a unit test to ensure that the bug doesn't come back?
Bump for unit tests, please. |
working on this PR |
@tgolen, I'm a bit confused about how we can add a unit test for this case. |
What's your confusion and how can I help resolve it? |
@tgolen My confusion is what test we can add in this case and where we can add this because it's not a util function and it's just a variable in the component. |
You should be able to write unit tests for components. I think the test should:
|
@tgolen let me try |
@tgolen I think in this case we can create a util function to get |
Sounds like that would work as well, yeah 👍 Good thinking |
@Ollyws i added, please check again |
@@ -975,6 +975,22 @@ describe('ReportUtils', () => { | |||
}); | |||
}); | |||
|
|||
describe('getQuickActionDetails', () => { |
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.
Thanks for adding this test!
Can you please follow this format to add a little bit of context and documentation to the test?
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.
@tgolen i updated
Details
Fixed Issues
$ #50418
PROPOSAL: #50418 (comment)
Tests
Offline tests
same as above
QA Steps
same as above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
android-mweb.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov