diff --git a/x-pack/test/reporting_functional/reporting_and_timeout/index.ts b/x-pack/test/reporting_functional/reporting_and_timeout/index.ts index 9832f00675062..9e06e18072846 100644 --- a/x-pack/test/reporting_functional/reporting_and_timeout/index.ts +++ b/x-pack/test/reporting_functional/reporting_and_timeout/index.ts @@ -17,8 +17,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const browser = getService('browser'); const compareImages = getService('compareImages'); - // FLAKY: https://github.com/elastic/kibana/issues/135309 - describe.skip('Reporting Functional Tests with forced timeout', function () { + describe('Reporting Functional Tests with forced timeout', function () { const dashboardTitle = 'Ecom Dashboard Hidden Panel Titles'; const baselineAPng = path.resolve(__dirname, 'fixtures/baseline/warnings_capture_a.png'); const sessionPng = 'warnings_capture_session_a'; @@ -51,8 +50,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const captureData = await PageObjects.reporting.getRawPdfReportData(url); const pngSessionFilePath = await compareImages.writeToSessionFile(sessionPng, captureData); + // allow minor visual differences: https://github.com/elastic/kibana/issues/135309#issuecomment-1169095186 expect(await compareImages.checkIfPngsMatch(pngSessionFilePath, baselineAPng)).to.be.lessThan( - 0.01 + 0.011 ); }); });