TestBeats generates AI enhanced test reports in any language or framework, empowering your team with valuable insights. Streamlines team collaboration with test results centralized in a cloud dashboard, or delivered directly to Microsoft Teams, Slack, Google Chat and more. It can easily be integrated with frameworks like Mocha (e.g. PactumJS), Playwright, Cypress, WebdriverIO, and many more.

Setup with Playwright
Start from an existing Playwright project (if you don’t have one, here is a tutorial about creating it)
- When running the tests, make sure they will use the jUnit reporter to generate a results.xml file (it is a built-in mechanism in Playwright) – you can achieve this with the following command
PLAYWRIGHT_JUNIT_OUTPUT_NAME=results.xml npx playwright test --reporter=junit

2. in the project root, create a testbeats config file (e.g. ‘.testbeats.json’)

3. after every test execution, run the following testbeats command to get the results published
npx testbeats@latest publish -c .testbeats.json

That’s it! now the results have been successfully published to your cloud testbeats dashboard ✨





HERE you can find more examples of testbeats integration with lots of frameworks (Playwright, Mocha, Cypress, and many more)
Enjoyed this article? Make sure to subscribe to my YouTube Channel for more Test Automation tutorials, and follow me on LinkedIn and Twitter for regular insights.