diff --git a/test/functional/apps/console/_xjson.ts b/test/functional/apps/console/_xjson.ts index 445bfa5d42f0a..1535337a2a848 100644 --- a/test/functional/apps/console/_xjson.ts +++ b/test/functional/apps/console/_xjson.ts @@ -15,8 +15,7 @@ export default ({ getService, getPageObjects }: FtrProviderContext) => { const log = getService('log'); const PageObjects = getPageObjects(['common', 'console', 'header']); - // FLAKY: https://github.com/elastic/kibana/issues/145477 - describe.skip('XJSON', function testXjson() { + describe('XJSON', function testXjson() { this.tags('includeFirefox'); before(async () => { await PageObjects.common.navigateToApp('console'); diff --git a/test/functional/page_objects/console_page.ts b/test/functional/page_objects/console_page.ts index a48578a60bc17..2fabe4222ee4e 100644 --- a/test/functional/page_objects/console_page.ts +++ b/test/functional/page_objects/console_page.ts @@ -500,6 +500,7 @@ export class ConsolePageObject extends FtrService { } public async getRequestQueryParams() { + await this.sleepForDebouncePeriod(); const requestEditor = await this.getRequestEditor(); const requestQueryParams = await requestEditor.findAllByCssSelector('.ace_url.ace_param'); @@ -531,6 +532,7 @@ export class ConsolePageObject extends FtrService { } public async getRequestLineHighlighting() { + await this.sleepForDebouncePeriod(); const requestEditor = await this.getRequestEditor(); const requestLine = await requestEditor.findAllByCssSelector('.ace_line > *'); const line = [];