From 1439e613bf6c76a72dba90b28801876db6b3751f Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Fri, 29 Sep 2023 10:18:05 +0200 Subject: [PATCH] add logout in after hook --- .../functional/test_suites/common/home_page/home_page.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x-pack/test_serverless/functional/test_suites/common/home_page/home_page.ts b/x-pack/test_serverless/functional/test_suites/common/home_page/home_page.ts index 9d9a1b228b511..eeacda03c909a 100644 --- a/x-pack/test_serverless/functional/test_suites/common/home_page/home_page.ts +++ b/x-pack/test_serverless/functional/test_suites/common/home_page/home_page.ts @@ -16,6 +16,10 @@ export default function ({ getPageObject, getService }: FtrProviderContext) { await svlCommonPage.login(); }); + before(async () => { + await svlCommonPage.forceLogout(); + }); + it('has project header', async () => { await svlCommonNavigation.navigateToKibanaHome(); await svlCommonPage.assertProjectHeaderExists();