Skip to content

Commit

Permalink
TMS-27683: Fixed "AddMessage" method with failed tests for Playwright.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel.butuzov committed Nov 6, 2024
1 parent 0e19f51 commit 5e4f88f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testit-adapter-playwright/src/converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export class Converter {
duration: result.duration,
parameters: autotestData.params,
attachments: autotestData.addAttachments,
message: autotestData.addMessage,
};

if (result.error) {
Expand All @@ -57,6 +56,10 @@ export class Converter {
autotestResult.traces = status.trace;
}

if (autotestData.addMessage) {
autotestResult.message = autotestData.addMessage
}

return autotestResult;
}

Expand Down

0 comments on commit 5e4f88f

Please sign in to comment.