Failing test: Firefox UI Functional Tests.test/functional/apps/discover/_field_data_with_fields_api·ts - discover app discover tab with new fields API field data shows top-level object keys (#129844) (#130104)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit f814e0fd43)

Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2022-04-13 07:57:45 -05:00 committed by GitHub
parent 5963932c52
commit 30564859b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 () {
@ -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);