Skip to content

Commit

Permalink
Fix flaky test #194043 (#194670)
Browse files Browse the repository at this point in the history
Fixing `getRowIndicatorProvider should render log.level row indicators on Surrounding documents page` by waiting a bit longer for the table to be rendered.
  • Loading branch information
kertal authored Oct 2, 2024
1 parent 40eb9b2 commit b7af143
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const browser = getService('browser');
const dataViews = getService('dataViews');

// Failing: See https://github.com/elastic/kibana/issues/194043
// Failing: See https://github.com/elastic/kibana/issues/194043
describe.skip('extension getRowIndicatorProvider', () => {
describe('extension getRowIndicatorProvider', () => {
before(async () => {
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
});
Expand Down Expand Up @@ -130,6 +128,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

await browser.refresh();
await header.waitUntilLoadingHasFinished();
await discover.waitUntilSearchingHasFinished();

anchorCell = await dataGrid.getCellElement(0, 0);
anchorColorIndicator = await anchorCell.findByTestSubject(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

await browser.refresh();
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();

anchorCell = await dataGrid.getCellElement(0, 0);
anchorColorIndicator = await anchorCell.findByTestSubject(
Expand Down

0 comments on commit b7af143

Please sign in to comment.