-
+ |
-
+
diff --git a/src/plugins/discover/public/application/components/doc_viewer/__snapshots__/doc_viewer.test.tsx.snap b/src/plugins/discover/public/application/components/doc_viewer/__snapshots__/doc_viewer.test.tsx.snap
index 40cbee8e114a..4010797f3e44 100644
--- a/src/plugins/discover/public/application/components/doc_viewer/__snapshots__/doc_viewer.test.tsx.snap
+++ b/src/plugins/discover/public/application/components/doc_viewer/__snapshots__/doc_viewer.test.tsx.snap
@@ -3,6 +3,7 @@
exports[`Render with 3 different tabs 1`] = `
+
);
diff --git a/src/plugins/discover/public/application/components/doc_views/context_app.tsx b/src/plugins/discover/public/application/components/doc_views/context_app.tsx
index da06db6417b6..746d637019f5 100644
--- a/src/plugins/discover/public/application/components/doc_views/context_app.tsx
+++ b/src/plugins/discover/public/application/components/doc_views/context_app.tsx
@@ -88,7 +88,7 @@ export function ContextApp({
onChangeCount={onChangeCount}
type={SurrDocType.PREDECESSORS}
/>
-
+
+
-
-
+
+
{contextAppMemoized}
diff --git a/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.tsx b/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.tsx
index dc12ba4581fc..b662785a2a33 100644
--- a/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.tsx
+++ b/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.tsx
@@ -35,7 +35,13 @@ import { FormattedMessage } from '@osd/i18n/react';
export function LoadingSpinner() {
return (
-
+
}
title={
diff --git a/src/plugins/discover/public/application/components/no_results/no_results.tsx b/src/plugins/discover/public/application/components/no_results/no_results.tsx
index 24a4b80c7204..fc8c1d0fd806 100644
--- a/src/plugins/discover/public/application/components/no_results/no_results.tsx
+++ b/src/plugins/discover/public/application/components/no_results/no_results.tsx
@@ -301,7 +301,10 @@ export const DiscoverNoResults = ({ queryString, query, savedQuery, timeFieldNam
}
/>
{tabs.length && (
-
+
)}
diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field.tsx
index f2048e8ade1d..b7b7ec050e40 100644
--- a/src/plugins/discover/public/application/components/sidebar/discover_field.tsx
+++ b/src/plugins/discover/public/application/components/sidebar/discover_field.tsx
@@ -198,7 +198,13 @@ export const DiscoverField = ({
}
return (
-
+
-
+
{bucket.display === '' ? emptyTxt : bucket.display}
diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field_data_frame.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field_data_frame.tsx
index 26260635a303..c700c4a29a58 100644
--- a/src/plugins/discover/public/application/components/sidebar/discover_field_data_frame.tsx
+++ b/src/plugins/discover/public/application/components/sidebar/discover_field_data_frame.tsx
@@ -21,6 +21,7 @@ export function DiscoverFieldDataFrame({ onCreateIndexPattern, onNormalizeIndexP
onClick={onNormalizeIndexPattern}
size="xs"
className="dscSideBar_normalizeIndexPattern"
+ data-test-subj="dscSideBarNormalizeIndexPatternButton"
>
{i18n.translate('discover.fieldChooser.dataFrame.normalizeIndexPattern', {
defaultMessage: 'Normalize',
@@ -33,6 +34,7 @@ export function DiscoverFieldDataFrame({ onCreateIndexPattern, onNormalizeIndexP
onClick={onCreateIndexPattern}
size="xs"
className="dscSideBar_createIndexPattern"
+ data-test-subj="dscSideBarCreateIndexPatternButton"
>
{i18n.translate('discover.fieldChooser.dataFrame.createIndexPattern', {
defaultMessage: 'Create index pattern',
diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx
index c93352d43589..e2fee970f2e3 100644
--- a/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx
+++ b/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx
@@ -315,7 +315,10 @@ export function DiscoverFieldSearch({
if (isEnhancementsEnabledOverride) {
return (
-
+
{compressedFieldSearch}
{fieldPopover}
diff --git a/src/plugins/discover/public/application/components/sidebar/discover_sidebar.tsx b/src/plugins/discover/public/application/components/sidebar/discover_sidebar.tsx
index bc55a3fe4a7d..a9c4bf01eaf5 100644
--- a/src/plugins/discover/public/application/components/sidebar/discover_sidebar.tsx
+++ b/src/plugins/discover/public/application/components/sidebar/discover_sidebar.tsx
@@ -312,6 +312,7 @@ const FieldList = ({
onClick={() => setExpanded(!expanded)}
size="xs"
className="dscSideBar_fieldGroup"
+ data-test-subj="dscSideBarFieldGroupButton"
aria-label={title}
isLoading={!!selectedIndexPattern.fieldsLoading}
>
diff --git a/src/plugins/discover/public/application/components/table/table.tsx b/src/plugins/discover/public/application/components/table/table.tsx
index 3ef8e026702e..62161444a1f2 100644
--- a/src/plugins/discover/public/application/components/table/table.tsx
+++ b/src/plugins/discover/public/application/components/table/table.tsx
@@ -56,7 +56,7 @@ export function DocViewTable({
}
return (
-
+
{Object.keys(flattened)
.sort()
diff --git a/src/plugins/discover/public/application/components/table/table_row.tsx b/src/plugins/discover/public/application/components/table/table_row.tsx
index c59210338586..67449aa6338d 100644
--- a/src/plugins/discover/public/application/components/table/table_row.tsx
+++ b/src/plugins/discover/public/application/components/table/table_row.tsx
@@ -81,7 +81,7 @@ export function DocViewTableRow({
return (
{typeof onFilter === 'function' && (
-
+ |
onFilter(fieldMapping, valueRaw, '+')}
@@ -100,7 +100,7 @@ export function DocViewTableRow({
/>
|
)}
-
+ |
>
) : (
-
+
diff --git a/src/plugins/discover/public/embeddable/search_embeddable_component.tsx b/src/plugins/discover/public/embeddable/search_embeddable_component.tsx
index ecf0f1bc2b30..858791ae11a8 100644
--- a/src/plugins/discover/public/embeddable/search_embeddable_component.tsx
+++ b/src/plugins/discover/public/embeddable/search_embeddable_component.tsx
@@ -58,7 +58,11 @@ export function SearchEmbeddableComponent({ searchProps }: SearchEmbeddableProps
className="eui-xScrollWithShadows eui-yScrollWithShadows"
>
{discoverEmbeddableProps.hits !== 0 ? (
-
+
) : (
| |