Skip to content

Commit

Permalink
remove top-nav. it is not rendered in KP (#69488) (#69790)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
mshustov and elasticmachine authored Jun 24, 2020
1 parent 01a7437 commit 83cf82c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/functional/page_objects/common_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,14 +372,12 @@ export function CommonPageProvider({ getService, getPageObjects }: FtrProviderCo

async isChromeVisible() {
const globalNavShown = await globalNav.exists();
const topNavShown = await testSubjects.exists('top-nav');
return globalNavShown && topNavShown;
return globalNavShown;
}

async isChromeHidden() {
const globalNavShown = await globalNav.exists();
const topNavShown = await testSubjects.exists('top-nav');
return !globalNavShown && !topNavShown;
return !globalNavShown;
}

async waitForTopNavToBeVisible() {
Expand Down

0 comments on commit 83cf82c

Please sign in to comment.