Skip to content

Commit

Permalink
[Discover] Unskip ES|QL Inspector tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jughosta committed May 21, 2024
1 parent 742dff0 commit 103ff95
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 5 additions & 4 deletions test/functional/apps/discover/group4/_esql_view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
});

// FLAKY: https://github.com/elastic/kibana/issues/183847
describe.skip('inspector', () => {
beforeEach(async () => {
await PageObjects.common.navigateToApp('discover');
Expand All @@ -269,9 +268,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();
await inspector.open();
const requestNames = await inspector.getRequestNames();
expect(requestNames).to.contain('Table');
expect(requestNames).to.contain('Visualization');
await retry.try(async () => {
const requestNames = await inspector.getRequestNames();
expect(requestNames).to.contain('Table');
expect(requestNames).to.contain('Visualization');
});
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();
await inspector.open();
const requestNames = await inspector.getRequestNames();
expect(requestNames).to.contain('Table');
expect(requestNames).to.contain('Visualization');
await retry.try(async () => {
const requestNames = await inspector.getRequestNames();
expect(requestNames).to.contain('Table');
expect(requestNames).to.contain('Visualization');
});
});
});

Expand Down

0 comments on commit 103ff95

Please sign in to comment.