[Uptime] unskip overview test (#95290)

This commit is contained in:
Shahzad 2021-03-25 09:05:26 +01:00 committed by GitHub
parent 69bb5979ce
commit b88f02ffb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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';
@ -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 () => {