diff --git a/x-pack/test/functional/page_objects/space_selector_page.ts b/x-pack/test/functional/page_objects/space_selector_page.ts index 26ea65e26a9cd..211193f6cf88a 100644 --- a/x-pack/test/functional/page_objects/space_selector_page.ts +++ b/x-pack/test/functional/page_objects/space_selector_page.ts @@ -205,6 +205,7 @@ export class SpaceSelectorPageObject extends FtrService { this.log.info(`SpaceSelectorPage:goToSpecificSpace(${spaceId})`); await this.testSubjects.click(`${spaceId}-selectableSpaceItem`); await this.common.sleep(1000); + expect(await this.find.existsByCssSelector('#headerSpacesMenuContent')).to.be(false); }); }