mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Share Modal ]fix flaky test (#183679)
## Summary Closes https://github.com/elastic/kibana/issues/183566
This commit is contained in:
parent
4ccd47d90e
commit
0941a7daf0
1 changed files with 1 additions and 2 deletions
|
@ -155,7 +155,6 @@ export default function ({
|
|||
});
|
||||
});
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/183566
|
||||
describe.skip('Preserve Layout', () => {
|
||||
before(async () => {
|
||||
await loadEcommerce();
|
||||
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue