diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/common/charts/ping_histogram.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/common/charts/ping_histogram.tsx index 1bad832a87d07..ae7b012498e5a 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/common/charts/ping_histogram.tsx +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/common/charts/ping_histogram.tsx @@ -125,9 +125,7 @@ export const PingHistogramComponent: React.FC = ({ }); content = ( - = ({ }, })} > - - - - numeral(d).format('0')} - labelFormat={(d) => numeral(d).format('0a')} - title={i18n.translate('xpack.uptime.snapshotHistogram.yAxis.title', { - defaultMessage: 'Pings', - description: - 'The label on the y-axis of a chart that displays the number of times Heartbeat has pinged a set of services/websites.', - })} - /> - - - - + + + + + numeral(d).format('0')} + labelFormat={(d) => numeral(d).format('0a')} + title={i18n.translate('xpack.uptime.snapshotHistogram.yAxis.title', { + defaultMessage: 'Pings', + description: + 'The label on the y-axis of a chart that displays the number of times Heartbeat has pinged a set of services/websites.', + })} + /> + + + + + ); } diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/__snapshots__/monitor_status.bar.test.tsx.snap b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/__snapshots__/monitor_status.bar.test.tsx.snap index 84360ef93c8fc..8c39ee47fd08e 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/__snapshots__/monitor_status.bar.test.tsx.snap +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/__snapshots__/monitor_status.bar.test.tsx.snap @@ -81,39 +81,41 @@ Array [ > Enable status alerts -
+
- + +
- + , ] `; diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/status_bar/status_bar.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/status_bar/status_bar.tsx index f122415d725c0..c77bd9e3ab4fc 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/status_bar/status_bar.tsx +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/status_bar/status_bar.tsx @@ -133,7 +133,9 @@ export const MonitorStatusBar: React.FC = () => { {ENABLE_STATUS_ALERT} {selectedMonitor && ( - +
+ +
)} diff --git a/x-pack/test/accessibility/apps/group1/uptime.ts b/x-pack/test/accessibility/apps/group1/uptime.ts index 03a38447ed845..f1130cec5d999 100644 --- a/x-pack/test/accessibility/apps/group1/uptime.ts +++ b/x-pack/test/accessibility/apps/group1/uptime.ts @@ -19,8 +19,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const es = getService('es'); const toasts = getService('toasts'); - // github.com/elastic/kibana/issues/153601 - describe.skip('uptime Accessibility', () => { + describe('uptime Accessibility', () => { before(async () => { await esArchiver.load('x-pack/test/functional/es_archives/uptime/blank'); await makeChecks(es, A11Y_TEST_MONITOR_ID, 150, 1, 1000, { @@ -55,7 +54,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('overview page with expanded monitor detail', async () => { await uptimeService.overview.expandMonitorDetail(A11Y_TEST_MONITOR_ID); - await uptimeService.overview.openIntegrationsPopoverForMonitor(A11Y_TEST_MONITOR_ID); + await uptimeService.overview.openIntegrationsPopoverForMonitor( + A11Y_TEST_MONITOR_ID, + 'uptime' + ); await a11y.testAppSnapshot(); }); diff --git a/x-pack/test/functional/services/uptime/overview.ts b/x-pack/test/functional/services/uptime/overview.ts index a41884c74cd08..34b2531b76561 100644 --- a/x-pack/test/functional/services/uptime/overview.ts +++ b/x-pack/test/functional/services/uptime/overview.ts @@ -15,8 +15,8 @@ export function UptimeOverviewProvider({ getService }: FtrProviderContext) { async expandMonitorDetail(id: string): Promise { return testSubjects.click(`xpack.synthetics.monitorList.${id}.expandMonitorDetail`); }, - async openIntegrationsPopoverForMonitor(id: string): Promise { - return testSubjects.click(`xpack.synthetics.monitorList.actionsPopover.${id}`); + async openIntegrationsPopoverForMonitor(id: string, plugin = 'synthetics'): Promise { + return testSubjects.click(`xpack.${plugin}.monitorList.actionsPopover.${id}`); }, async openAlertsPopover(): Promise { return testSubjects.click('xpack.synthetics.alertsPopover.toggleButton');