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() {
|
async isChromeVisible() {
|
||||||
const globalNavShown = await globalNav.exists();
|
const globalNavShown = await globalNav.exists();
|
||||||
const topNavShown = await testSubjects.exists('top-nav');
|
return globalNavShown;
|
||||||
return globalNavShown && topNavShown;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async isChromeHidden() {
|
async isChromeHidden() {
|
||||||
const globalNavShown = await globalNav.exists();
|
const globalNavShown = await globalNav.exists();
|
||||||
const topNavShown = await testSubjects.exists('top-nav');
|
return !globalNavShown;
|
||||||
return !globalNavShown && !topNavShown;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async waitForTopNavToBeVisible() {
|
async waitForTopNavToBeVisible() {
|
||||||
|
|
Loading…
Reference in a new issue