Skip to content

Commit

Permalink
wip still
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmivkulkarni committed Aug 28, 2020
1 parent 1590c17 commit d197e71
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,29 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
dashboardDrilldownsManage.DASHBOARD_WITH_PIE_CHART_NAME
);

await PageObjects.common.sleep(50000);

// create drilldown
await dashboardPanelActions.openContextMenu();
// console.log('open context menu--111');
await PageObjects.common.sleep(10000);
await dashboardDrilldownPanelActions.expectExistsCreateDrilldownAction();
// console.log('open context menu---222');
await PageObjects.common.sleep(100001);
await dashboardDrilldownPanelActions.clickCreateDrilldown();
// console.log('open context menu---333');
await PageObjects.common.sleep(10002);
await dashboardDrilldownsManage.expectsCreateDrilldownFlyoutOpen();
// console.log('open context menu---444');
await PageObjects.common.sleep(10003);
await dashboardDrilldownsManage.fillInDashboardToDashboardDrilldownWizard({
drilldownName: DRILLDOWN_TO_AREA_CHART_NAME,
destinationDashboardTitle: dashboardDrilldownsManage.DASHBOARD_WITH_AREA_CHART_NAME,
});

await PageObjects.common.sleep(10000);
await dashboardDrilldownsManage.saveChanges();
await PageObjects.common.sleep(10000);
await dashboardDrilldownsManage.expectsCreateDrilldownFlyoutClose();

// check that drilldown notification badge is shown
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/functional/apps/dashboard/drilldowns/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function ({ loadTestFile, getService }: FtrProviderContext) {
});

after(async () => {
await esArchiver.unload('dashboard/drilldowns');
// await esArchiver.unload('dashboard/drilldowns');
});

loadTestFile(require.resolve('./dashboard_drilldowns'));
Expand Down
5 changes: 3 additions & 2 deletions x-pack/test/functional/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,14 @@ export default async function ({ readConfigFile }) {
{
feature: {
dashboard: ['all'],
saved_objects: ['all'],
indexPatterns: ['all'],
//saved_objects: ['all'],
//indexPatterns: ['all'],
},
spaces: ['*'],
},
],
},

global_visualize_read: {
kibana: [
{
Expand Down

0 comments on commit d197e71

Please sign in to comment.