@@ -18,7 +18,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
1818 ] ) ;
1919 const dashboardCustomizePanel = getService ( 'dashboardCustomizePanel' ) ;
2020 const dashboardBadgeActions = getService ( 'dashboardBadgeActions' ) ;
21- const dashboardPanelActions = getService ( 'dashboardPanelActions' ) ;
2221 const testSubjects = getService ( 'testSubjects' ) ;
2322 const retry = getService ( 'retry' ) ;
2423 const panelActions = getService ( 'dashboardPanelActions' ) ;
@@ -47,7 +46,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
4746
4847 await dashboard . waitForRenderComplete ( ) ;
4948 const originalEmbeddableCount = await canvas . getEmbeddableCount ( ) ;
50- await dashboardPanelActions . customizePanel ( ) ;
49+ await panelActions . customizePanel ( ) ;
5150 await dashboardCustomizePanel . enableCustomTimeRange ( ) ;
5251 await dashboardCustomizePanel . openDatePickerQuickMenu ( ) ;
5352 await dashboardCustomizePanel . clickCommonlyUsedTimeRange ( 'Last_30 days' ) ;
@@ -84,7 +83,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
8483 await dashboard . waitForRenderComplete ( ) ;
8584 const originalEmbeddableCount = await canvas . getEmbeddableCount ( ) ;
8685
87- await dashboardPanelActions . customizePanel ( ) ;
86+ await panelActions . customizePanel ( ) ;
8887 await dashboardCustomizePanel . expectCustomizePanelSettingsFlyoutOpen ( ) ;
8988 await dashboardCustomizePanel . enableCustomTimeRange ( ) ;
9089 await dashboardCustomizePanel . openDatePickerQuickMenu ( ) ;
@@ -114,7 +113,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
114113
115114 const titles = await dashboard . getPanelTitles ( ) ;
116115 expect ( titles [ 0 ] ) . to . be ( `${ visTitle } (converted)` ) ;
117- await dashboardPanelActions . expectNotLinkedToLibrary ( titles [ 0 ] , true ) ;
116+ await panelActions . expectNotLinkedToLibrary ( titles [ 0 ] , true ) ;
118117 await dashboardBadgeActions . expectExistsTimeRangeBadgeAction ( ) ;
119118 await panelActions . removePanel ( ) ;
120119 } ) ;
0 commit comments