Skip to content

Commit

Permalink
Infra flaky test fixes (#160503)
Browse files Browse the repository at this point in the history
Closes #157711 and closes #157740
## Summary

This PR fixes the mentioned flaky tests together with the fix done in
#160407
  • Loading branch information
jennypavlova authored Jun 27, 2023
1 parent 7fb8f6b commit 7e7cf0f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions x-pack/test/functional/apps/infra/home_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
});
});

// FLAKY: https://github.com/elastic/kibana/issues/157711
describe.skip('alerts flyouts', () => {
describe('alerts flyouts', () => {
before(async () => {
await esArchiver.load('x-pack/test/functional/es_archives/infra/metrics_and_logs');
await pageObjects.common.navigateToApp('infraOps');
Expand All @@ -219,12 +218,13 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
await pageObjects.infraHome.clickAlertsAndRules();
await pageObjects.infraHome.ensurePopoverOpened();
await pageObjects.infraHome.clickAlertsAndRules();
await pageObjects.infraHome.ensurePopoverClosed();
await retry.try(async () => {
await pageObjects.infraHome.ensurePopoverClosed();
});
});
});

// FLAKY: https://github.com/elastic/kibana/issues/157740
describe.skip('Saved Views', () => {
describe('Saved Views', () => {
before(async () => {
esArchiver.load('x-pack/test/functional/es_archives/infra/metrics_and_logs');
await pageObjects.common.navigateToApp('infraOps');
Expand Down

0 comments on commit 7e7cf0f

Please sign in to comment.