description | icon |
---|---|
Using Currents with Playwright Component testing |
diamonds-4 |
Run Playwright Component testing and report the results to Currents
{% hint style="info" %} Note November 2023: Playwright support for Component testing is still experimental {% endhint %}
Please refer to the example integration of Playwright Component testing with Currents:
{% embed url="https://github.com/currents-dev/currents-playwright-component-tests-example" %}
The project contains two simple component tests:
src/App.spec.jsx
- a passing testsrc/AppFailing.spec.jsx
- an intentionally failing test
The results will be sent to Currents for more effective troubleshooting, screenshots, playwright traces and collecting performance metrics:
Example of collecting Playwright Component test results