front-end icon indicating copy to clipboard operation
front-end copied to clipboard

Integrate Playwright

Open kylemh opened this issue 2 years ago • 6 comments
trafficstars

I want to use Playwright for Automated Visual Testing with Chromatic and eventually ditch snapshot tests + ditch Cypress.

Helpful: https://dev.to/szmydlo/comprehensive-coverage-jestplaywright-in-nextjs-ts-1df2

kylemh avatar Sep 10 '23 05:09 kylemh

@kylemh still want to do this?

michaelDragomir avatar Jun 06 '24 20:06 michaelDragomir

@kylemh I made a PR for this integration. Should be done with it soon..currently testing it out...hopefully I didn't miss anything. but so far working smoothly..

michaelDragomir avatar Jun 07 '24 20:06 michaelDragomir

Yes, I want to do this. I also want to try and use https://github.com/kwonoj/swc-plugin-coverage-instrument so that we can finally use SWC (and ditch Istanbul + Babel). This would allow our builds to be nearly twice as fast and our dev server would be MUCH faster.

kylemh avatar Jun 08 '24 05:06 kylemh

@kylemh i'll spend some time on this...and review that repo.

michaelDragomir avatar Jun 24 '24 14:06 michaelDragomir

Im willing to ditch coverage too. So focus on Playwright replacing Cypress first. Coverage can come in a later PR. I'm updating some code in the other open PR too. Trying to get us to Next 14 asap

kylemh avatar Jun 24 '24 14:06 kylemh

alrighty...i'll open up a new PR and work on replacing Cypress with Playwright.

michaelDragomir avatar Jun 24 '24 14:06 michaelDragomir