diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/components/policy_form_layout.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/components/policy_form_layout.tsx index fcc3f9a421818..34defb5b25ce6 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/components/policy_form_layout.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/components/policy_form_layout.tsx @@ -12,7 +12,6 @@ import { EuiButton, EuiButtonEmpty, EuiLoadingSpinner, - EuiBottomBar, EuiSpacer, } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; @@ -21,6 +20,7 @@ import { useDispatch } from 'react-redux'; import { useLocation } from 'react-router-dom'; import type { ApplicationStart } from '@kbn/core/public'; import { toMountPoint } from '@kbn/kibana-react-plugin/public'; +import { KibanaPageTemplate } from '@kbn/shared-ux-page-kibana-template'; import { useShowEditableFormFields, usePolicyDetailsSelector } from '../../policy_hooks'; import { policyDetails, @@ -159,7 +159,7 @@ export const PolicyFormLayout = React.memo(() => { )} - + { )} - + ); }); diff --git a/x-pack/test/security_solution_endpoint/apps/integrations/policy_details.ts b/x-pack/test/security_solution_endpoint/apps/integrations/policy_details.ts index d01f869e285e9..e167315e0a126 100644 --- a/x-pack/test/security_solution_endpoint/apps/integrations/policy_details.ts +++ b/x-pack/test/security_solution_endpoint/apps/integrations/policy_details.ts @@ -72,6 +72,14 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { ); }); + it('should not hide the side navigation', async () => { + await testSubjects.scrollIntoView('solutionSideNavItemLink-get_started'); + // ensure center of button is visible and not hidden by sticky bottom bar + await testSubjects.click('solutionSideNavItemLink-administration', 1000, 15); + // test cleanup: go back to policy details page + await pageObjects.policy.navigateToPolicyDetails(policyInfo.packagePolicy.id); + }); + it('and the show advanced settings button is clicked', async () => { await testSubjects.missingOrFail('advancedPolicyPanel');