Skip to content

Commit

Permalink
revert unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Jun 18, 2020
1 parent 2434486 commit 85c128e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x-pack/test/functional/page_objects/lens_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export function LensPageProvider({ getService, getPageObjects }: FtrProviderCont
const testSubjects = getService('testSubjects');
const retry = getService('retry');
const find = getService('find');
const globalNav = getService('globalNav');
const comboBox = getService('comboBox');
const PageObjects = getPageObjects([
'header',
Expand Down Expand Up @@ -165,7 +164,7 @@ export function LensPageProvider({ getService, getPageObjects }: FtrProviderCont
},

getTitle() {
return globalNav.getLastBreadcrumb();
return testSubjects.getVisibleText('lns_ChartTitle');
},
});
}

0 comments on commit 85c128e

Please sign in to comment.