diff --git a/test/functional/apps/visualize/_metric_chart.js b/test/functional/apps/visualize/_metric_chart.js index 58d443698d782..1cbddf9e0d533 100644 --- a/test/functional/apps/visualize/_metric_chart.js +++ b/test/functional/apps/visualize/_metric_chart.js @@ -189,7 +189,7 @@ export default function({ getService, getPageObjects }) { let filterCount = 0; await retry.try(async function tryingForTime() { // click first metric bucket - await PageObjects.visualize.clickMetricByIndex(0); + await PageObjects.visEditor.clickMetricByIndex(0); filterCount = await filterBar.getFilterCount(); }); expect(filterCount).to.equal(0); @@ -207,7 +207,7 @@ export default function({ getService, getPageObjects }) { let filterCount = 0; await retry.try(async function tryingForTime() { // click first metric bucket - await PageObjects.visualize.clickMetricByIndex(0); + await PageObjects.visEditor.clickMetricByIndex(0); filterCount = await filterBar.getFilterCount(); }); await filterBar.removeAllFilters(); diff --git a/test/functional/apps/visualize/_tag_cloud.js b/test/functional/apps/visualize/_tag_cloud.js index 61d0646cad24d..4f921cec1fdf1 100644 --- a/test/functional/apps/visualize/_tag_cloud.js +++ b/test/functional/apps/visualize/_tag_cloud.js @@ -127,7 +127,7 @@ export default function({ getService, getPageObjects }) { }); it('should show the tags and relative size', function() { - return PageObjects.visualize.getTextSizes().then(function(results) { + return PageObjects.tagCloud.getTextSizes().then(function(results) { log.debug('results here ' + results); expect(results).to.eql(['72px', '63px', '25px', '32px', '18px']); }); diff --git a/test/functional/page_objects/visualize_editor_page.ts b/test/functional/page_objects/visualize_editor_page.ts index 8dcd7e0002a65..1811eb34c6f3c 100644 --- a/test/functional/page_objects/visualize_editor_page.ts +++ b/test/functional/page_objects/visualize_editor_page.ts @@ -397,7 +397,6 @@ export function VisualizeEditorPageProvider({ getService, getPageObjects }: FtrP } public async setInterval(newValue: string) { - log.debug(`Visualize.setInterval(${newValue})`); await comboBox.set('visEditorInterval', newValue); } @@ -406,7 +405,6 @@ export function VisualizeEditorPageProvider({ getService, getPageObjects }: FtrP } public async setCustomInterval(newValue: string) { - log.debug(`Visualize.setCustomInterval(${newValue})`); await comboBox.setCustom('visEditorInterval', newValue); } @@ -427,7 +425,6 @@ export function VisualizeEditorPageProvider({ getService, getPageObjects }: FtrP } public async clickMetricByIndex(index: number) { - log.debug(`clickMetricByIndex(${index})`); const metrics = await find.allByCssSelector( '[data-test-subj="visualizationLoader"] .mtrVis .mtrVis__container' ); diff --git a/test/functional/services/dashboard/visualizations.js b/test/functional/services/dashboard/visualizations.js index ee6491cb50f6d..5e722ccce8970 100644 --- a/test/functional/services/dashboard/visualizations.js +++ b/test/functional/services/dashboard/visualizations.js @@ -107,7 +107,7 @@ export function DashboardVisualizationProvider({ getService, getPageObjects }) { } await this.ensureNewVisualizationDialogIsShowing(); await PageObjects.visualize.clickMarkdownWidget(); - await PageObjects.visualize.setMarkdownTxt(markdown); + await PageObjects.visEditor.setMarkdownTxt(markdown); await PageObjects.visEditor.clickGo(); await PageObjects.visualize.saveVisualizationExpectSuccess(name); }