From a34d22dcbfaa3b08a7bb161dc344e4af1bcac60c Mon Sep 17 00:00:00 2001 From: Tom Ratcliffe Date: Mon, 29 Apr 2024 13:48:34 +0100 Subject: [PATCH] Include alertmanager param on creation --- public/app/features/alerting/unified/Silences.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/alerting/unified/Silences.test.tsx b/public/app/features/alerting/unified/Silences.test.tsx index 6552cdcd590..e80fca33996 100644 --- a/public/app/features/alerting/unified/Silences.test.tsx +++ b/public/app/features/alerting/unified/Silences.test.tsx @@ -258,7 +258,7 @@ describe('Silence create/edit', () => { 'creates a new silence', async () => { const user = userEvent.setup(); - renderSilences(baseUrlPath); + renderSilences(`${baseUrlPath}?alertmanager=Alertmanager`); expect(await ui.editor.durationField.find()).toBeInTheDocument(); const postRequest = waitForServerRequest(silenceCreateHandler());