Skip to content

Commit

Permalink
Merge pull request #8 from hujambo-dunia/fix-ci-job-messages
Browse files Browse the repository at this point in the history
Fix ci job messages
  • Loading branch information
bernt-matthias authored Feb 27, 2024
2 parents 101cba0 + d856658 commit 693d4ca
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 li`);
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 693d4ca

Please sign in to comment.