Skip to content

Commit

Permalink
[Share Modal ]fix flaky test (#183679)
Browse files Browse the repository at this point in the history
## Summary

Closes #183566
  • Loading branch information
rshen91 committed May 23, 2024
1 parent 4ccd47d commit 0941a7d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ export default function ({
});
});

// FLAKY: https://github.com/elastic/kibana/issues/183566
describe.skip('Preserve Layout', () => {
before(async () => {
await loadEcommerce();
Expand All @@ -172,10 +171,10 @@ export default function ({
await PageObjects.dashboard.loadSavedDashboard('Ecom Dashboard');
await PageObjects.reporting.openExportTab();
await PageObjects.reporting.clickGenerateReportButton();
await PageObjects.share.closeShareModal();

const url = await PageObjects.reporting.getReportURL(60000);
const res = await PageObjects.reporting.getResponse(url ?? '');
await PageObjects.share.closeShareModal();

expect(res.status).to.equal(200);
expect(res.get('content-type')).to.equal('application/pdf');
Expand Down

0 comments on commit 0941a7d

Please sign in to comment.