Skip to content

Commit aabfcfd

Browse files
author
Maja Grubic
committed
Fixing type failure, and functional test
1 parent 5810b99 commit aabfcfd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/legacy/core_plugins/kibana/public/dashboard/np_ready/dashboard_empty_screen.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import React from 'react';
2020
import { I18nProvider } from '@kbn/i18n/react';
2121
import {
22-
EuiIcon,
2322
EuiLink,
2423
EuiSpacer,
2524
EuiPageContent,
@@ -67,7 +66,7 @@ export function DashboardEmptyScreen({
6766
</p>
6867
);
6968
const paragraph = (
70-
description1?: string,
69+
description1: string | null,
7170
description2: string,
7271
linkText: string,
7372
ariaLabel: string,

x-pack/test/functional/apps/dashboard/feature_controls/dashboard_security.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
107107
shouldLoginIfPrompted: false,
108108
}
109109
);
110-
await testSubjects.existOrFail('emptyDashboardAddPanelButton', { timeout: 10000 });
110+
await testSubjects.existOrFail('emptyDashboardWidget', { timeout: 10000 });
111111
});
112112

113113
it(`can view existing Dashboard`, async () => {

0 commit comments

Comments
 (0)