playwright-community / playwright-msteams-reporter

Microsoft Teams reporter for Playwright
https://www.npmjs.com/package/playwright-msteams-reporter
MIT License
11 stars 4 forks source link

I want to remove the "<user> used a Workflow template to send this card. Get template" line #13

Closed jellis206 closed 2 months ago

jellis206 commented 2 months ago

I really don't need a whole line item about what Workflow template I used to distract from the message. I have been searching through the codebase as well as the powerautomate stuff to see if I could remove it, but have had no luck. It is sandwiched between the results table and the results link, which makes me think it is somehow being inserted into the adaptive card. If you can point me in the right direction I don't mind forking the repo and making the change myself.

I have outlined in red the line item I am talking about.

Screenshot 2024-09-19 at 11 22 26
estruyf commented 2 months ago

Hi @jellis206, unfortunately, this is something Microsoft adds, so it is out of our control. That said, there seems to be a trick to get it removed. You can do this by creating a copy of the flow and using that one instead. You can find more details here: https://docs.hetrixtools.com/microsoft-teams-how-to-remove-name-used-a-workflow-template-to-send-this-card-get-template/

I've just tried it out, and it seems to work fine on my end.

estruyf commented 2 months ago

I've added the procedure to the README:

image

jellis206 commented 2 months ago

Thank you! I was half expecting this to be ignored. I really appreciate the guidance!!