Skip to content

Commit

Permalink
[Visualize] unskip the reporting funtional test (#114094) (#114461)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Stratoula Kalafateli <[email protected]>
  • Loading branch information
kibanamachine and stratoula authored Oct 11, 2021
1 parent e7bec30 commit e190acd
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions x-pack/test/functional/apps/visualize/reporting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
'visEditor',
]);

// Failing: See https://github.com/elastic/kibana/issues/113496
describe.skip('Visualize Reporting Screenshots', () => {
describe('Visualize Reporting Screenshots', () => {
before('initialize tests', async () => {
log.debug('ReportingPage:initTests');
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/reporting/ecommerce');
await kibanaServer.importExport.load(ecommerceSOPath);
await browser.setWindowSize(1600, 850);
await kibanaServer.uiSettings.replace({
'timepicker:timeDefaults':
'{ "from": "2019-04-27T23:56:51.374Z", "to": "2019-08-23T16:18:51.821Z"}',
});
});
after('clean up archives', async () => {
await esArchiver.unload('x-pack/test/functional/es_archives/reporting/ecommerce');
Expand All @@ -41,6 +44,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
refresh: true,
body: { query: { match_all: {} } },
});
await kibanaServer.uiSettings.unset('timepicker:timeDefaults');
});

describe('Print PDF button', () => {
Expand All @@ -54,11 +58,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});

it('becomes available when saved', async () => {
await PageObjects.timePicker.timePickerExists();
const fromTime = 'Apr 27, 2019 @ 23:56:51.374';
const toTime = 'Aug 23, 2019 @ 16:18:51.821';
await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);

await PageObjects.visEditor.clickBucket('X-axis');
await PageObjects.visEditor.selectAggregation('Date Histogram');
await PageObjects.visEditor.clickGo();
Expand Down

0 comments on commit e190acd

Please sign in to comment.