From d856658c1b246db3aec0fcc3cdfc6c878db15806 Mon Sep 17 00:00:00 2001 From: hujambo-dunia Date: Mon, 26 Feb 2024 18:27:14 -0500 Subject: [PATCH] Fix for CI counting job messages --- client/src/components/JobInformation/JobInformation.test.js | 2 +- client/src/components/JobInformation/JobInformation.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/JobInformation/JobInformation.test.js b/client/src/components/JobInformation/JobInformation.test.js index bcbbd23386c3..12b63df67f2d 100644 --- a/client/src/components/JobInformation/JobInformation.test.js +++ b/client/src/components/JobInformation/JobInformation.test.js @@ -68,7 +68,7 @@ describe("JobInformation/JobInformation.vue", () => { }); it("job messages", async () => { - const rendered_link = jobInfoTable.findAll(`#job-messages ul`); + const rendered_link = jobInfoTable.findAll(`#job-messages .job-message`); expect(rendered_link.length).toBe(jobResponse.job_messages.length); for (let i = 0; i < rendered_link.length; i++) { const msg = rendered_link.at(i).text(); diff --git a/client/src/components/JobInformation/JobInformation.vue b/client/src/components/JobInformation/JobInformation.vue index 9ee7707a121b..5eb0b720749f 100644 --- a/client/src/components/JobInformation/JobInformation.vue +++ b/client/src/components/JobInformation/JobInformation.vue @@ -107,7 +107,7 @@ function filterMetadata(jobMessages) { Job Messages