remove top-nav. it is not rendered in KP (#69488)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
778136f3bf
commit
78ebb6250a
|
@ -378,14 +378,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() {
|
||||
|
|
Loading…
Reference in a new issue