diff --git a/x-pack/test/functional/apps/monitoring/feature_controls/monitoring_spaces.ts b/x-pack/test/functional/apps/monitoring/feature_controls/monitoring_spaces.ts index 94714f7b0ca34..4508d6a8e5a18 100644 --- a/x-pack/test/functional/apps/monitoring/feature_controls/monitoring_spaces.ts +++ b/x-pack/test/functional/apps/monitoring/feature_controls/monitoring_spaces.ts @@ -19,6 +19,12 @@ export default function({ getPageObjects, getService }: FtrProviderContext) { await esArchiver.load('empty_kibana'); }); + after(async () => { + await esArchiver.unload('empty_kibana'); + await PageObjects.common.navigateToApp('home'); + await PageObjects.security.logout(); + }); + describe('space with no features disabled', () => { before(async () => { await spacesService.create({