diff --git a/public/app/features/alerting/unified/RuleEditor.test.tsx b/public/app/features/alerting/unified/RuleEditor.test.tsx index 9854c4b403e..f57a299869a 100644 --- a/public/app/features/alerting/unified/RuleEditor.test.tsx +++ b/public/app/features/alerting/unified/RuleEditor.test.tsx @@ -102,7 +102,9 @@ const ui = { const getLabelInput = (selector: HTMLElement) => within(selector).getByRole('combobox'); -describe('RuleEditor', () => { +// Until flakiness is fixed +// https://github.com/grafana/grafana/issues/58747 +describe.skip('RuleEditor', () => { beforeEach(() => { jest.clearAllMocks(); contextSrv.isEditor = true; diff --git a/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx b/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx index b53405ca357..ae885d59d46 100644 --- a/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx @@ -142,6 +142,9 @@ export const DetailsStep = ({ initialFolder }: DetailsStepProps) => { id="group" {...register('group', { required: { value: true, message: 'Must enter a group name' }, + validate: { + pathSeparator: (group_: string) => checkForPathSeparator(group_), + }, })} />