From a8eb6809df1acfb3306d90ee1fc303cdbf68cd65 Mon Sep 17 00:00:00 2001 From: Timothy Sullivan Date: Tue, 7 Nov 2023 08:46:33 -0700 Subject: [PATCH] Remove validations of CSV file for test --- x-pack/test/functional/apps/discover/reporting.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/x-pack/test/functional/apps/discover/reporting.ts b/x-pack/test/functional/apps/discover/reporting.ts index 169866fe18235..be73f202602d3 100644 --- a/x-pack/test/functional/apps/discover/reporting.ts +++ b/x-pack/test/functional/apps/discover/reporting.ts @@ -132,8 +132,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await textInput.clearValue(); }); - // Flaky https://github.com/elastic/kibana/issues/112164 - it.skip('generates a report from a new search with data: default', async () => { + it('generates a report from a new search with data: default', async () => { await PageObjects.discover.clickNewSearchButton(); await PageObjects.reporting.setTimepickerInEcommerceDataRange(); @@ -168,8 +167,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // match file length, the beginning and the end of the csv file contents const { text: csvFile } = await getReport(); expect(csvFile.length).to.be(4826973); - expectSnapshot(csvFile.slice(0, 5000)).toMatch(); - expectSnapshot(csvFile.slice(-5000)).toMatch(); + + /* + * NOTE: This test can not check against the snapshot. Data ingestion from + * the ES archive is concurrent and dynamic, and affects the search output + */ }); });