diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/index.test.js b/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/index.test.js index 8156c6898..04a742b91 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/index.test.js +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/index.test.js @@ -61,6 +61,7 @@ beforeEach(() => { { name: "default", uri: "file:///mock", + publicURI: "http://example.com", error: "" } ] @@ -175,6 +176,7 @@ describe("", () => { expect(am).toEqual({ name: "default", uri: "file:///mock", + publicURI: "http://example.com", error: "" }); }); @@ -204,7 +206,7 @@ describe("", () => { expect(endsAt.html()).toMatch(/badge-danger/); }); - it("id links to Alertmanager silence view", () => { + it("id links to Alertmanager silence view via alertmanager.uri", () => { const tree = ShallowSilenceDetails(); const link = tree.find("a"); expect(link.props().href).toBe(