[Visualize] Unskips reporting tests (#157892)

## Summary

Closes https://github.com/elastic/kibana/issues/156964

Same problem with the navigateToUrl function we have seen in other
places too.

Flaky test runner
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2252
This commit is contained in:
Stratoula Kalafateli 2023-05-22 07:10:27 +01:00 committed by GitHub
parent 08114aa538
commit fc72e7c51a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,8 +42,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
});
// FLAKY: https://github.com/elastic/kibana/issues/156964
describe.skip('Print PDF button', () => {
describe('Print PDF button', () => {
const ecommerceSOPath =
'x-pack/test/functional/fixtures/kbn_archiver/reporting/ecommerce.json';
@ -69,7 +68,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
it('is available if new', async () => {
await PageObjects.common.navigateToUrl('visualize', 'new', { useActualUrl: true });
await PageObjects.visualize.gotoVisualizationLandingPage();
await PageObjects.visualize.clickNewVisualization();
await PageObjects.visualize.clickAggBasedVisualizations();
await PageObjects.visualize.clickAreaChart();
await PageObjects.visualize.clickNewSearch('ecommerce');