mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* Unskip dashboard by value example tests
This commit is contained in:
parent
e80e837453
commit
faec47dc36
4 changed files with 8 additions and 6 deletions
|
@ -33,7 +33,8 @@ export class HelloWorldEmbeddable extends Embeddable {
|
|||
* @param node
|
||||
*/
|
||||
public render(node: HTMLElement) {
|
||||
node.innerHTML = '<div data-test-subj="helloWorldEmbeddable">HELLO WORLD!</div>';
|
||||
node.innerHTML =
|
||||
'<div data-test-subj="helloWorldEmbeddable" data-render-complete="true">HELLO WORLD!</div>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -41,7 +41,7 @@ function wrapSearchTerms(task: string, search?: string) {
|
|||
|
||||
export function TodoEmbeddableComponentInner({ input: { icon, title, task, search } }: Props) {
|
||||
return (
|
||||
<EuiFlexGroup gutterSize="none">
|
||||
<EuiFlexGroup gutterSize="none" data-render-complete="true">
|
||||
<EuiFlexItem grow={false}>
|
||||
{icon ? <EuiIcon type={icon} size="l" /> : <EuiAvatar name={title || task} size="l" />}
|
||||
</EuiFlexItem>
|
||||
|
|
|
@ -45,7 +45,7 @@ export function TodoRefEmbeddableComponentInner({
|
|||
const title = savedAttributes?.title;
|
||||
const task = savedAttributes?.task;
|
||||
return (
|
||||
<EuiFlexGroup>
|
||||
<EuiFlexGroup data-render-complete="true">
|
||||
<EuiFlexItem grow={false}>
|
||||
{icon ? (
|
||||
<EuiIcon type={icon} size="l" />
|
||||
|
|
|
@ -97,11 +97,10 @@ export default function ({ getService, getPageObjects }: PluginFunctionalProvide
|
|||
const pieChart = getService('pieChart');
|
||||
const dashboardExpect = getService('dashboardExpect');
|
||||
const elasticChart = getService('elasticChart');
|
||||
const PageObjects = getPageObjects(['common', 'visChart']);
|
||||
const PageObjects = getPageObjects(['common', 'visChart', 'dashboard']);
|
||||
const monacoEditor = getService('monacoEditor');
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/116414
|
||||
describe.skip('dashboard container', () => {
|
||||
describe('dashboard container', () => {
|
||||
before(async () => {
|
||||
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/dashboard/current/data');
|
||||
await esArchiver.loadIfNeeded(
|
||||
|
@ -109,6 +108,8 @@ export default function ({ getService, getPageObjects }: PluginFunctionalProvide
|
|||
);
|
||||
await PageObjects.common.navigateToApp('dashboardEmbeddableExamples');
|
||||
await testSubjects.click('dashboardEmbeddableByValue');
|
||||
await PageObjects.dashboard.waitForRenderComplete();
|
||||
|
||||
await updateInput(JSON.stringify(testDashboardInput, null, 4));
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue