-
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
add testID to chat title for applause automation #34858
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
@hayata-suenaga 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] |
@gireinvent can you sign the CLA as instructed in this comment? You just have to post a comment. |
@hayata-suenaga Whats up with these so many failing checks? |
@gireinvent Can you please fix lint issues? |
Bump on above @gireinvent. Also, @hayata-suenaga can you please add me as a reviewer here so that I can track this? |
I have read the CLA Document and I hereby sign the CLA |
Actually, not 100% sure if we need C+ here. Let me get back to you @allroundexperts |
@gireinvent did you get a chance to see Rory's comment on Slack about passing the test ID to native components? do you have any idea why the tests are failing here? |
@hayata-suenaga I do not have access to that slack space. |
ah sorry about that 🙇 here is the copy of the message
|
@hayata-suenaga I have added testids as per rory's suggestion. I am not sure why tests are failing as i have only added test id's there should be no changes to behavior. |
did you add IDs to root components/elements? |
@roryabraham if you could help us here a little bit, I'd appreciate it 🙇 |
Yes i added to the root components which are implementing native react components |
@gireinvent by the way, could you link the GH issue for this PR in the original post? There is a section called |
@allroundexperts do you have an idea why these tests are failing? |
@hayata-suenaga I think the following explains why the above are failing:
|
could you check the points by @allroundexperts and fix the issues? |
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.
Also pay attention to the other failing typescript errors (you can check these locally by running npm run typecheck
after running npm install
once).
You made testID
a required prop of the DisplayNames
component, but failed to provide that prop in many places where it was used.
@@ -41,6 +43,7 @@ function DisplayNamesTooltipItem({ | |||
displayName = '', | |||
textStyles = [], | |||
childRefs = {current: []}, | |||
testID = 'displayName', |
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.
const displayName = 'DisplayNamesTooltipItem';
function DisplayNamesTooltipItem({
...
testID = displayName,
}): DisplayNameTooltipItemProps) {
...
}
DisplayNameTooltipItem.displayName = displayName;
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.
Removed the testID prop as it is no longer needed
I can take this over and do the changes if needed. |
@roryabraham Yeah i realized this after submitting PR, i am making changes actively but its taking time as it has to change in multiple places. |
@gireinvent feel free to ping me when this is ready for review again. in the meantime, I'm going to mark it as |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
There appear to be some unsigned commits. |
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.
🟢
e27c94d
to
b8eb63e
Compare
i rebased and force pushed commits as per @roryabraham suggestion. |
@hayata-suenaga is the PR good to merge? |
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.
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.
commit after rebase
b8eb63e
to
301fbd1
Compare
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.
@gireinvent getting closer – you need to rebase onto main, squashing all your commits into a single, signed commit. Then you can force-push to replace the 6 commits from this branch with a single, signed commit:
3d4ad92
to
7d27853
Compare
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.
@gireinvent still have unverified commits here. Try this:
# This rewinds 5 commits in the history, keeping your latest changes
git reset --soft HEAD~5
# This adds a new commit, overwriting the commits you rewinded past
git commit -m "Add testID to DisplayNamesWithTooltips"
# Then push your changes to the remote branch
git push origin addtestIds_applause
7d27853
to
fca8eb5
Compare
fca8eb5
to
f9ec12f
Compare
@roryabraham Narrowed it down to one commit. |
✋ 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/roryabraham in version: 1.4.40-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.40-5 🚀
|
Details
Fixed Issues
$
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop