chromaui / chromatic-e2e

Archive end-to-end tests to be replayed in Storybook and Chromatic
MIT License
21 stars 4 forks source link

Chrome Devtools Protocol code is framework-agnostic #50

Closed skitterm closed 9 months ago

skitterm commented 9 months ago

What Changed

This PR removes (most of) the Playwright-specific stuff inside the CDP-interfacing code. This is so that we can easily use the same code with Cypress in a future PR.

The idea is that each testing framework can provide its own cdpClient to the Watcher class, leaving the Watcher uninvolved with framework-specific things.

How to test

Change Type

thafryer commented 9 months ago

:rocket: PR was released in v0.0.52 :rocket: