Skip to content

Commit

Permalink
[Uptime] unskip overview test (#95290)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 authored and kibanamachine committed Mar 25, 2021
1 parent ec9b609 commit 6b4e55f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions x-pack/test/functional/apps/uptime/overview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {

const testSubjects = getService('testSubjects');

// FLAKY: https://github.com/elastic/kibana/issues/89072
describe.skip('overview page', function () {
describe('overview page', function () {
const DEFAULT_DATE_START = 'Sep 10, 2019 @ 12:40:08.078';
const DEFAULT_DATE_END = 'Sep 11, 2019 @ 19:40:08.078';

Expand Down Expand Up @@ -96,7 +95,10 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
await uptime.pageUrlContains('pagination');
await uptime.setMonitorListPageSize(50);
// the pagination parameter should be cleared after a size change
await uptime.pageUrlContains('pagination', false);
await new Promise((resolve) => setTimeout(resolve, 1000));
await retry.try(async () => {
await uptime.pageUrlContains('pagination', false);
});
});

it('pagination size updates to reflect current selection', async () => {
Expand Down

0 comments on commit 6b4e55f

Please sign in to comment.