From 32a613dfdbbce1336e7c118272e1206c9db396b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cjeramysoucy=E2=80=9D?= Date: Wed, 7 Dec 2022 10:22:38 -0500 Subject: [PATCH] Attempts to confirm space item click by checking the menu is no longer present. --- x-pack/test/functional/page_objects/space_selector_page.ts | 1 + 1 file changed, 1 insertion(+) 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); }); }