playwright-community / playwright-msteams-reporter

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

Results are duplicated #3

Closed rpiwnicki closed 2 months ago

rpiwnicki commented 2 months ago

I have a problem because every time I get a result, it also contains the result of every previous execution.

reporter: process.env.CI ? [['html'], ['junit', { outputFile: './playwright-report/junit-report.xml' }], ['github']] : [ ['html'], [ 'playwright-msteams-reporter', { webhookUrl: 'LINK', webhookType: 'powerautomate', // or "msteams" }, ], ],

I don't use Chanel to send messages, only Group Chat on Teams, if that makes any difference. I run tests manually on my computer, not through CI.

image

rvpv commented 2 months ago

Ok, problem does not occur as the test is run in Github Actions.

estruyf commented 2 months ago

Thanks, @rpiwnicki, for opening an issue. I found out why it is happening, and I will implement a fix for it.

The new version's release will have to be postponed. We are working to access the Playwright community org on NPM, which will be the dependency's new home.

estruyf commented 2 months ago

This has been fixed in version 0.0.7.