Skip to content

Commit 6ee166f

Browse files
committed
update ut and snapshot
Signed-off-by: Jackie Han <[email protected]>
1 parent 6323e0e commit 6ee166f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

public/pages/Overview/containers/AnomalyDetectionOverview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export function AnomalyDetectionOverview(props: AnomalyDetectionOverviewProps) {
281281
<EuiFlexGroup justifyContent="spaceBetween">
282282
<EuiFlexItem grow={false}>
283283
<EuiTitle size="l" data-test-subj="overviewTitle">
284-
<h1>Get Started</h1>
284+
<h1>Get started</h1>
285285
</EuiTitle>
286286
</EuiFlexItem>
287287
<EuiFlexItem grow={false}>

public/pages/Overview/containers/__tests__/AnomalyDetectionOverview.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe('<AnomalyDetectionOverview /> spec', () => {
7878
});
7979
const { container, getByText, queryByText } = renderWithRouter();
8080
expect(container).toMatchSnapshot();
81-
getByText('Anomaly detection');
81+
getByText('Get started');
8282
getByText('Monitor HTTP responses');
8383
getByText('Monitor eCommerce orders');
8484
getByText('Monitor host health');
@@ -109,7 +109,7 @@ describe('<AnomalyDetectionOverview /> spec', () => {
109109
const { container, getByText, getAllByText } = renderWithRouter();
110110
await waitFor(() => {});
111111
expect(container).toMatchSnapshot();
112-
getByText('Anomaly detection');
112+
getByText('Get started');
113113
getByText('Monitor HTTP responses');
114114
getByText('Monitor eCommerce orders');
115115
getByText('Monitor host health');
@@ -136,7 +136,7 @@ describe('<AnomalyDetectionOverview /> spec', () => {
136136
const { container, getByText, queryByText } = renderWithRouter();
137137
await waitFor(() => {});
138138
expect(container).toMatchSnapshot();
139-
getByText('Anomaly detection');
139+
getByText('Get started');
140140
getByText('Monitor HTTP responses');
141141
getByText('Monitor eCommerce orders');
142142
getByText('Monitor host health');

public/pages/Overview/containers/__tests__/__snapshots__/AnomalyDetectionOverview.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exports[`<AnomalyDetectionOverview /> spec No sample detectors created renders c
1515
class="euiTitle euiTitle--large"
1616
data-test-subj="overviewTitle"
1717
>
18-
Anomaly detection
18+
Get started
1919
</h1>
2020
</div>
2121
<div
@@ -775,7 +775,7 @@ exports[`<AnomalyDetectionOverview /> spec Some detectors created renders compon
775775
class="euiTitle euiTitle--large"
776776
data-test-subj="overviewTitle"
777777
>
778-
Anomaly detection
778+
Get started
779779
</h1>
780780
</div>
781781
<div
@@ -1530,7 +1530,7 @@ exports[`<AnomalyDetectionOverview /> spec Some detectors created renders compon
15301530
class="euiTitle euiTitle--large"
15311531
data-test-subj="overviewTitle"
15321532
>
1533-
Anomaly detection
1533+
Get started
15341534
</h1>
15351535
</div>
15361536
<div

public/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class AnomalyDetectionOpenSearchDashboardsPlugin
117117
if (core.chrome.navGroup.getNavGroupEnabled()) {
118118
core.application.register({
119119
id: OVERVIEW_PAGE_NAV_ID,
120-
title: 'Get Started',
120+
title: 'Get started',
121121
order: 8040,
122122
category: DEFAULT_APP_CATEGORIES.detect,
123123
workspaceAvailability: WorkspaceAvailability.outsideWorkspace,

0 commit comments

Comments
 (0)