From b77de09afe1eb58486ebe45305a4886b0cd1be31 Mon Sep 17 00:00:00 2001 From: sitbubu Date: Wed, 23 Feb 2022 12:06:45 +0200 Subject: [PATCH] Added right data-test-subj in order to fix tests Signed-off-by: sitbubu --- .../application/components/doc_viewer_links/doc_viewer_links.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/discover/public/application/components/doc_viewer_links/doc_viewer_links.tsx b/src/plugins/discover/public/application/components/doc_viewer_links/doc_viewer_links.tsx index 771315935a82..21b127253714 100644 --- a/src/plugins/discover/public/application/components/doc_viewer_links/doc_viewer_links.tsx +++ b/src/plugins/discover/public/application/components/doc_viewer_links/doc_viewer_links.tsx @@ -15,6 +15,7 @@ export function DocViewerLinks(renderProps: DocViewLinkRenderProps) { .map((item) => { const { generateUrlCb, href, ...props } = item; const listItem: EuiListGroupItemProps = { + 'data-test-subj': 'docTableRowAction', ...props, href: generateUrlCb ? generateUrlCb(renderProps) : href, };