diff --git a/apps/heureka/src/lib/slices/createFiltersSlice.test.js b/apps/heureka/src/lib/slices/createFiltersSlice.test.js index 55879b294..3ab1c99dd 100644 --- a/apps/heureka/src/lib/slices/createFiltersSlice.test.js +++ b/apps/heureka/src/lib/slices/createFiltersSlice.test.js @@ -193,7 +193,7 @@ describe("createFiltersSlice", () => { [SERVICES]: { filter2: ["value2"] }, [COMPONENTS]: { filter3: ["value3"] }, }, - [constants.SEARCH_TERM]: expect.any(String), + [constants.SEARCH_TERM]: expect.any(String), // Use expect.any() for encoded search term verification }) }) }) diff --git a/apps/heureka/src/lib/slices/createGlobalsSlice.js b/apps/heureka/src/lib/slices/createGlobalsSlice.js index 199f51c6b..13342b565 100644 --- a/apps/heureka/src/lib/slices/createGlobalsSlice.js +++ b/apps/heureka/src/lib/slices/createGlobalsSlice.js @@ -134,6 +134,7 @@ const createGlobalsSlice = (set, get, options) => ({ } const updatedState = { [constants.DETAILS_FOR]: panelType, + // Include `iid` or `svn` immediately after `d:issue/service` in the URL [panelType === constants.PANEL_SERVICE ? constants.SERVICE_NAME : constants.ISSUE_ID]: panelType === constants.PANEL_SERVICE ? serviceDetail : issueDetail, }