From 2c238c4c1a37f45dd6d644bca5b4d588f0438660 Mon Sep 17 00:00:00 2001 From: David Tuite Date: Tue, 22 Jun 2021 10:55:24 +0100 Subject: [PATCH] Clarify the HasSystems card title Signed-off-by: David Tuite --- .../src/components/HasSystemsCard/HasSystemsCard.test.tsx | 4 ++-- .../catalog/src/components/HasSystemsCard/HasSystemsCard.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/catalog/src/components/HasSystemsCard/HasSystemsCard.test.tsx b/plugins/catalog/src/components/HasSystemsCard/HasSystemsCard.test.tsx index fba7c88ac1..b1392b7a10 100644 --- a/plugins/catalog/src/components/HasSystemsCard/HasSystemsCard.test.tsx +++ b/plugins/catalog/src/components/HasSystemsCard/HasSystemsCard.test.tsx @@ -66,7 +66,7 @@ describe('', () => { , ); - 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('', () => { ); await waitFor(() => { - expect(getByText('Systems')).toBeInTheDocument(); + expect(getByText('Has systems')).toBeInTheDocument(); expect(getByText(/target-name/i)).toBeInTheDocument(); }); }); diff --git a/plugins/catalog/src/components/HasSystemsCard/HasSystemsCard.tsx b/plugins/catalog/src/components/HasSystemsCard/HasSystemsCard.tsx index e5217efe48..b3e756c8dc 100644 --- a/plugins/catalog/src/components/HasSystemsCard/HasSystemsCard.tsx +++ b/plugins/catalog/src/components/HasSystemsCard/HasSystemsCard.tsx @@ -31,7 +31,7 @@ export const HasSystemsCard = ({ variant = 'gridItem' }: Props) => { return (