[Discover] Fix "shows top-level object keys" flaky test (#131241)

This commit is contained in:
Julia Rechkunova 2022-04-29 20:31:04 +02:00 committed by GitHub
parent 7c8e144dd1
commit 71e926b202
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,10 +89,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
);
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('og:description');
const field = await PageObjects.discover.getDocTableIndex(1);
expect(field).to.contain('og:description');
});
const marks = await PageObjects.discover.getMarks();
expect(marks.length).to.be(0);