Skip to content

Commit

Permalink
Fix for CI counting job messages
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Feb 26, 2024
1 parent 0179bcc commit d856658
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/JobInformation/JobInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function filterMetadata(jobMessages) {
<td>Job Messages</td>
<td>
<ul v-if="Array.isArray(job.job_messages)" class="pl-2 mb-0">
<div v-for="(message, m) in filterMetadata(job.job_messages)" :key="m">
<div v-for="(message, m) in filterMetadata(job.job_messages)" :key="m" class="job-message">
<div v-if="job.job_messages.length > 1">
<u>Job Message {{ m + 1 }}:</u>
</div>
Expand Down

0 comments on commit d856658

Please sign in to comment.