diff --git a/x-pack/packages/security-solution/side_nav/src/solution_side_nav.tsx b/x-pack/packages/security-solution/side_nav/src/solution_side_nav.tsx index f9ac3ab3d8ade19..dfae8526603325c 100644 --- a/x-pack/packages/security-solution/side_nav/src/solution_side_nav.tsx +++ b/x-pack/packages/security-solution/side_nav/src/solution_side_nav.tsx @@ -106,28 +106,25 @@ export const SolutionSideNav: React.FC = React.memo(functi - - - - + + + - - - + @@ -284,16 +281,18 @@ const SolutionSideNavItem: React.FC = React.memo( <> - + + + {hasPanelNav && ( diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/schedule_item_form/index.tsx b/x-pack/plugins/security_solution/public/detections/components/rules/schedule_item_form/index.tsx index 4da7f038cf6549d..4dbbf1f3a9206a7 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/schedule_item_form/index.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/rules/schedule_item_form/index.tsx @@ -179,6 +179,7 @@ export const ScheduleItem = ({ options={timeTypeOptions.filter((type) => timeTypes.includes(type.value))} onChange={onChangeTimeType} value={timeType} + aria-label={field.label} data-test-subj="timeType" {...rest} /> diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/status_icon/index.tsx b/x-pack/plugins/security_solution/public/detections/components/rules/status_icon/index.tsx index b52d317a6ce82d0..6afb5c256040386 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/status_icon/index.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/rules/status_icon/index.tsx @@ -31,7 +31,7 @@ const RuleStatusIconComponent: React.FC = ({ name, type }) const color = type === 'passive' ? theme.euiColorLightestShade : theme.euiColorPrimary; return ( - + {type === 'valid' ? : null} ); diff --git a/x-pack/test/accessibility/apps/security_solution.ts b/x-pack/test/accessibility/apps/security_solution.ts index ef930f093eb4a1b..ba7d22fd2d39db6 100644 --- a/x-pack/test/accessibility/apps/security_solution.ts +++ b/x-pack/test/accessibility/apps/security_solution.ts @@ -14,8 +14,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const toasts = getService('toasts'); const testSubjects = getService('testSubjects'); - // FLAKY: https://github.com/elastic/kibana/issues/95707 - describe.skip('Security Solution Accessibility', () => { + describe('Security Solution Accessibility', () => { before(async () => { await security.testUser.setRoles(['superuser'], { skipBrowserRefresh: true }); await common.navigateToApp('security'); diff --git a/x-pack/test/security_solution_ftr/page_objects/detections/index.ts b/x-pack/test/security_solution_ftr/page_objects/detections/index.ts index 9d5abd2631be1df..a8ff43a8e06bfc9 100644 --- a/x-pack/test/security_solution_ftr/page_objects/detections/index.ts +++ b/x-pack/test/security_solution_ftr/page_objects/detections/index.ts @@ -121,7 +121,7 @@ export class DetectionsPageObject extends FtrService { async preview(): Promise { await this.common.clickAndValidate( - 'queryPreviewButton', + 'previewSubmitButton', 'queryPreviewCustomHistogram', undefined, 500