Clarify the HasSystems card title
Signed-off-by: David Tuite <david@roadie.io>
This commit is contained in:
@@ -66,7 +66,7 @@ describe('<HasSystemsCard />', () => {
|
||||
</Wrapper>,
|
||||
);
|
||||
|
||||
expect(getByText('Systems')).toBeInTheDocument();
|
||||
expect(getByText('Has systems')).toBeInTheDocument();
|
||||
expect(getByText(/No system is part of this domain/i)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
@@ -112,7 +112,7 @@ describe('<HasSystemsCard />', () => {
|
||||
);
|
||||
|
||||
await waitFor(() => {
|
||||
expect(getByText('Systems')).toBeInTheDocument();
|
||||
expect(getByText('Has systems')).toBeInTheDocument();
|
||||
expect(getByText(/target-name/i)).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -31,7 +31,7 @@ export const HasSystemsCard = ({ variant = 'gridItem' }: Props) => {
|
||||
return (
|
||||
<RelatedEntitiesCard
|
||||
variant={variant}
|
||||
title="Systems"
|
||||
title="Has systems"
|
||||
entityKind="System"
|
||||
relationType={RELATION_HAS_PART}
|
||||
columns={systemEntityColumns}
|
||||
|
||||
Reference in New Issue
Block a user