Skip to content

Files

Latest commit

91a3bf6 · Aug 23, 2024

History

History
25 lines (16 loc) · 1.04 KB

playwright-component-testing.md

File metadata and controls

25 lines (16 loc) · 1.04 KB
description icon
Using Currents with Playwright Component testing
diamonds-4

Playwright Component Testing

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 test
  • src/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