From 38162ca0cf2b6f630d1cd7b9e950716dc5820d0c Mon Sep 17 00:00:00 2001 From: Nicholas Ung Date: Mon, 23 Oct 2023 15:06:05 -0700 Subject: [PATCH] Wrap user-facing strings in header.tsx Signed-off-by: Nicholas Ung --- .../__snapshots__/header.test.tsx.snap | 30 +++++++++++++++++-- public/components/common/header.tsx | 18 +++++++++-- .../__snapshots__/create_index.test.tsx.snap | 30 +++++++++++++++++-- 3 files changed, 69 insertions(+), 9 deletions(-) diff --git a/public/components/common/__test__/__snapshots__/header.test.tsx.snap b/public/components/common/__test__/__snapshots__/header.test.tsx.snap index c1dfee0..615080d 100644 --- a/public/components/common/__test__/__snapshots__/header.test.tsx.snap +++ b/public/components/common/__test__/__snapshots__/header.test.tsx.snap @@ -16,7 +16,15 @@ exports[`Header component Renders header component 1`] = `

- Compare search results + + + Compare search results + +

@@ -24,7 +32,15 @@ exports[`Header component Renders header component 1`] = ` className="euiText euiText--medium" >

- Compare results using the same search text with different queries. + + + Compare results using the same search text with different queries. + + - Learn more + + + Learn more + + { borderRadius="none" > -

Compare search results

+

+ +

- Compare results using the same search text with different queries.{' '} + {' '} - Learn more +

diff --git a/public/components/query_compare/__test__/__snapshots__/create_index.test.tsx.snap b/public/components/query_compare/__test__/__snapshots__/create_index.test.tsx.snap index c24021e..6779956 100644 --- a/public/components/query_compare/__test__/__snapshots__/create_index.test.tsx.snap +++ b/public/components/query_compare/__test__/__snapshots__/create_index.test.tsx.snap @@ -17,7 +17,15 @@ exports[`Create index component Renders create index component 1`] = `

- Compare search results + + + Compare search results + +

@@ -25,7 +33,15 @@ exports[`Create index component Renders create index component 1`] = ` className="euiText euiText--medium" >

- Compare results using the same search text with different queries. + + + Compare results using the same search text with different queries. + + - Learn more + + + Learn more + +