ryanrosello-og/playwright-slack-report

[Question] Is there any way to share the failures in a thread created under the message sent by the report?

Closed this issue · 4 comments

Is there any way to share the failures in a thread created under the message sent by the report?

The idea around this suggestion is reducing verbosity on the message we are sending to the team.

Screenshot 2023-05-02 at 14 27 15

The highlighted section would go to a thread under the message with the results summary.

I'll do some googling and see if they have an endpoint for this.

It seems doable, here's my initial attempt at this ...

image

Just having a think about what to display though, I guess we can keep it simple initially as per your example above:

Failed test name

Stack trace (first 100 characters)

I will also need to add an extra config key (boolean - defaulted to false), something like summarizeFailuresInThread