Skip to content

Commit

Permalink
[Uptime] unskip overview test (#95290) (#95381)
Browse files Browse the repository at this point in the history
Co-authored-by: Shahzad <[email protected]>
  • Loading branch information
kibanamachine and shahzad31 authored Mar 25, 2021
1 parent 9c548eb commit 6f863c3
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 6f863c3

Please sign in to comment.