Skip to content
Snippets Groups Projects
Commit 542955be authored by Domonkos Gulyas's avatar Domonkos Gulyas
Browse files

CE-2870: Fix IOC log are not visible

parent affc9845
No related branches found
No related tags found
1 merge request!497CE-2790: Prepare for 4.0.0
Pipeline #190505 waiting for manual action
...@@ -62,6 +62,8 @@ describe("IOCLiveStatus", () => { ...@@ -62,6 +62,8 @@ describe("IOCLiveStatus", () => {
it("displays the logged in view", () => { it("displays the logged in view", () => {
commonTests(); commonTests();
// check for procserv logs // check for procserv logs
cy.wait("@getProcservLogs");
cy.contains("This is some fake log data");
}); });
}); });
}); });
...@@ -9,7 +9,7 @@ export function LokiContainer({ hostId, iocName, isDeployed }) { ...@@ -9,7 +9,7 @@ export function LokiContainer({ hostId, iocName, isDeployed }) {
const { value: iocHost } = useAPIMethod({ const { value: iocHost } = useAPIMethod({
fcn: client.apis.Hosts.findHostWithStatusById, fcn: client.apis.Hosts.findHostWithStatusById,
params: useMemo(() => ({ external_host_id: hostId }), [hostId]) params: useMemo(() => ({ host_id: hostId }), [hostId])
}); });
return ( return (
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"endDate": "2024-05-08T09:31:31.378+0200", "endDate": "2024-05-08T09:31:31.378+0200",
"iocName": "A2T-010Row:SC-IOC-002", "iocName": "A2T-010Row:SC-IOC-002",
"host": { "host": {
"hostId": "MTEzOV9mYWxzZQ==", "hostId": "NDE5NV90cnVl",
"externalIdValid": true, "externalIdValid": true,
"fqdn": "ccpu-evrtm.tn.esss.lu.se", "fqdn": "ccpu-evrtm.tn.esss.lu.se",
"hostName": "ccpu-evrtm", "hostName": "ccpu-evrtm",
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
"endDate": "2024-05-08T09:31:31.378+0200", "endDate": "2024-05-08T09:31:31.378+0200",
"iocName": "A2T-010Row:SC-IOC-002", "iocName": "A2T-010Row:SC-IOC-002",
"host": { "host": {
"hostId": "MTEzOV9mYWxzZQ==", "hostId": "NDE5NV90cnVl",
"externalIdValid": true, "externalIdValid": true,
"fqdn": "ccpu-evrtm.tn.esss.lu.se", "fqdn": "ccpu-evrtm.tn.esss.lu.se",
"hostName": "ccpu-evrtm", "hostName": "ccpu-evrtm",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment