Skip to content

Commit e5fba40

Browse files
disable test failures for a11y checks
1 parent fb72f54 commit e5fba40

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

src/platform/packages/shared/kbn-storybook/src/lib/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const preview: Preview = {
5858
},
5959
},
6060
parameters: {
61-
a11y: { test: 'error' },
61+
a11y: { test: 'todo' },
6262
},
6363
};
6464

x-pack/solutions/observability/plugins/apm/.storybook/test-runner.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ import { injectAxe, checkA11y } from 'axe-playwright';
1313
*/
1414
const config: TestRunnerConfig = {
1515
tags: {
16-
// include: ['test-only', 'pages'],
17-
// exclude: ['no-tests', 'tokens'],
18-
skip: ['skip-test', 'layout'],
16+
skip: ['skip-test'],
1917
},
2018
async preVisit(page) {
2119
await injectAxe(page);

x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.stories.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ export const Example: StoryObj<Args> = {
9494
],
9595
serviceName: 'test service',
9696
},
97+
parameters: {
98+
a11y: { test: 'todo' },
99+
},
97100
};
98101

99102
export const EmptyState: StoryObj<Args> = {
@@ -105,4 +108,7 @@ export const EmptyState: StoryObj<Args> = {
105108
mainStatistics: [],
106109
serviceName: 'test service',
107110
},
111+
parameters: {
112+
a11y: { test: 'todo' },
113+
},
108114
};

x-pack/solutions/observability/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ function getLatencyFormatter(props: TooltipInfo) {
2828
export default {
2929
title: 'shared/charts/InstancesLatencyDistributionChart/CustomTooltip',
3030
component: CustomTooltip,
31+
parameters: {
32+
a11y: {
33+
test: 'todo',
34+
},
35+
},
3136
};
3237

3338
export function Example(props: TooltipInfo) {

0 commit comments

Comments
 (0)