From 2d75dd9a723bfd8735a57d80ee12e3407c572bc8 Mon Sep 17 00:00:00 2001 From: Kawika Avilla Date: Wed, 27 Apr 2022 01:18:41 +0000 Subject: [PATCH] [OSD][Tests] add test subject to app title for app analytics Using a test subject we can find the specific element instead of trying to search the DOM for the class and hope the class is the right class that contains the element we are looking for. We can search the dom for this specific test subject and actually make the test runner wait until this test subject exists before executing the tests. Issue related: https://github.com/opensearch-project/observability/issues/679 Signed-off-by: Kawika Avilla --- .../components/application_analytics/components/application.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboards-observability/public/components/application_analytics/components/application.tsx b/dashboards-observability/public/components/application_analytics/components/application.tsx index 08ab10f22..a07221167 100644 --- a/dashboards-observability/public/components/application_analytics/components/application.tsx +++ b/dashboards-observability/public/components/application_analytics/components/application.tsx @@ -503,7 +503,7 @@ export function Application(props: AppDetailProps) { -

{application.name}

+

{application.name}

{application.description}