Brijesh619 commented on code in PR #737:
URL: https://github.com/apache/atlas/pull/737#discussion_r3927380134
##########
dashboard/src/views/DetailPage/EntityDetailTabs/__tests__/RelationshipLineage.test.tsx:
##########
@@ -1217,6 +1217,41 @@ describe('RelationshipLineage', () => {
});
});
+ describe('Tooltip Rendering', () => {
+ it('should render LightTooltip for relationship nodes in
drawer', async () => {
Review Comment:
have expanded the test suite under Tooltip Rendering in
RelationshipLineage.test.tsx to include:
An assertion verifying that the tooltip title matches the full untruncated
entity text (title={longName + " (Process)"}).
Deleted status styling tests verifying text-deleted on the tooltip link and
deleted-relation on the parent <li>.
Edge case coverage for missing typeName, ensuring the tooltip title renders
without empty parentheses when typeName is absent.
##########
dashboard/src/views/DetailPage/EntityDetailTabs/__tests__/RelationshipLineage.test.tsx:
##########
Review Comment:
I've updated should apply deleted-relation class for deleted entities in
RelationshipLineage.test.tsx to simulate opening the drawer and explicitly
assert that:
The <li> container has the deleted-relation class.
The link element has the text-deleted class.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]