From 5e4f88fbc7fb0adf52035389a019ada9b3e6c96f Mon Sep 17 00:00:00 2001 From: "pavel.butuzov" Date: Wed, 6 Nov 2024 08:52:01 +0300 Subject: [PATCH] TMS-27683: Fixed "AddMessage" method with failed tests for Playwright. --- testit-adapter-playwright/src/converter.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testit-adapter-playwright/src/converter.ts b/testit-adapter-playwright/src/converter.ts index 2222d9c..eaa207b 100644 --- a/testit-adapter-playwright/src/converter.ts +++ b/testit-adapter-playwright/src/converter.ts @@ -47,7 +47,6 @@ export class Converter { duration: result.duration, parameters: autotestData.params, attachments: autotestData.addAttachments, - message: autotestData.addMessage, }; if (result.error) { @@ -57,6 +56,10 @@ export class Converter { autotestResult.traces = status.trace; } + if (autotestData.addMessage) { + autotestResult.message = autotestData.addMessage + } + return autotestResult; }