Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Feb 8, 2021
1 parent 396cd9f commit 14d4118
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions test/functional/apps/dashboard/embeddable_library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await dashboardAddPanel.clickOpenAddPanel();
await dashboardAddPanel.filterEmbeddableNames('Rendering Test: heatmap');
await find.existsByLinkText('Rendering Test: heatmap');
await dashboardAddPanel.closeAddPanel();
});

it('save visualize panel to embeddable library', async () => {
Expand Down Expand Up @@ -89,6 +90,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await dashboardAddPanel.clickOpenAddPanel();
await dashboardAddPanel.filterEmbeddableNames('Rendering Test: geo map');
await find.existsByLinkText('Rendering Test: geo map');
await dashboardAddPanel.closeAddPanel();
});

it('save map panel to embeddable library', async () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

import expect from '@kbn/expect';
Expand Down Expand Up @@ -73,6 +74,7 @@ export default function ({ getPageObjects, getService }) {
await dashboardAddPanel.clickOpenAddPanel();
await dashboardAddPanel.filterEmbeddableNames('embeddable library map');
await find.existsByLinkText('embeddable library map');
await dashboardAddPanel.closeAddPanel();
});
});
}

0 comments on commit 14d4118

Please sign in to comment.