Skip to content

Commit b645814

Browse files
committed
add fix
1 parent 28a7d60 commit b645814

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/legacy/core_plugins/kibana/public/visualize/embeddable/visualize_embeddable.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ export class VisualizeEmbeddable extends Embeddable<VisualizeInput, VisualizeOut
313313

314314
div.setAttribute('data-test-subj', 'visualizationLoader');
315315
div.setAttribute('data-shared-item', '');
316+
div.setAttribute('data-shared-item-container', '');
316317
div.setAttribute('data-rendering-count', '0');
317318
div.setAttribute('data-render-complete', 'false');
318319

test/functional/apps/visualize/_shared_item.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default function ({ getService, getPageObjects }) {
3030
await PageObjects.common.navigateToApp('visualize');
3131
});
3232

33-
it('should have the correct data-shared-item title and description', async function () {
33+
it('should have the correct data-shared-item title and description, and sharedItemContainer should exist', async function () {
3434
const expected = {
3535
title: 'Shared-Item Visualization AreaChart',
3636
description: 'AreaChart'

0 commit comments

Comments
 (0)