Playwright | Tracetest Integration

Playwright, built by Microsoft, is a nodeJS framework used to automate web browsers. It is JavaScript-based, and allows end-to-end testing via the browser. It supports Chromium, Firefox, and Webkit with a single API.

What does Playwright do?

Playwright allows developers and testers to automate web browsers, allowing them to quickly build powerful tests against their modern web applications. While newer than Cypress, Playwright is quickly being adapted by development teams.

How does Tracetest work with Playwright?

Playwright excels at driving tests in the browser to check front end web applications. The Tracetest integration with Playwright allows you to also apply a trace-based test against the entire application - from the front end to the backend. It does this by including a Tracetest npm package, annotating the existing Playwright test to also enable the Tracetest, and then capturing a full distributed trace and sending the results to Tracetest. Tracetest allows assertions to be created which can verify the entire process based on data contained in the distributed trace.

How do I get started using Tracetest with Playwright?


Playwright instructions and example