Skip to content

Commit

Permalink
Failing test: Firefox UI Functional Tests.test/functional/apps/discov…
Browse files Browse the repository at this point in the history
…er/_field_data_with_fields_api·ts - discover app discover tab with new fields API field data shows top-level object keys
  • Loading branch information
DianaDerevyankina committed Apr 8, 2022
1 parent 2736f9e commit 5c3916e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/functional/apps/discover/_field_data_with_fields_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings();
await PageObjects.common.navigateToApp('discover');
});
// FLAKY: https://github.com/elastic/kibana/issues/127905
describe.skip('field data', function () {
describe('field data', function () {
it('search php should show the correct hit count', async function () {
const expectedHitCount = '445';
await retry.try(async function () {
Expand Down Expand Up @@ -92,12 +91,14 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
hash.replace('columns:!()', 'columns:!(relatedContent)'),
{ useActualUrl: true }
);

await PageObjects.header.waitUntilLoadingHasFinished();
await retry.try(async function tryingForTime() {
expect(await PageObjects.discover.getDocHeader()).to.contain('relatedContent');
});

const field = await PageObjects.discover.getDocTableIndex(1);
expect(field).to.contain('relatedContent.url');
const field = await PageObjects.discover.getDocTableIndex(1);
expect(field).to.contain('relatedContent.url');
});

const marks = await PageObjects.discover.getMarks();
expect(marks.length).to.be.above(0);
Expand Down

0 comments on commit 5c3916e

Please sign in to comment.