Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Reporting] Re-enable test for large CSV export from Discover #113675

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions x-pack/test/functional/apps/discover/reporting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
expect(res.text).to.be(`\n`);
});

// FIXME: https://github.com/elastic/kibana/issues/112186
it.skip('generates a large export', async () => {
it('generates a large export', async () => {
const fromTime = 'Apr 27, 2019 @ 23:56:51.374';
const toTime = 'Aug 23, 2019 @ 16:18:51.821';
await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);
Expand All @@ -112,7 +111,7 @@ 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(4954749);
expect(csvFile.length).to.be(5093456);
expectSnapshot(csvFile.slice(0, 5000)).toMatch();
expectSnapshot(csvFile.slice(-5000)).toMatch();
});
Expand Down
Loading