unlock-protocol / unlock

Ʉnlock is a protocol for memberships built on a blockchain.
https://unlock-protocol.com
MIT License
834 stars 244 forks source link

Add Playwright + Recorder feature for E2E test #8782

Open kalidiagne opened 2 years ago

kalidiagne commented 2 years ago

Chrome recently added the "Recorder" feature, to record and replay user flows. We can combine this feature with Cypress Chrome recorder to easily get cypress E2E tests.

In particular, we need a way to test all the steps and flows we need to check before deploying a new version.

refs: https://developer.chrome.com/docs/devtools/recorder/ https://github.com/cypress-io/cypress-chrome-recorder

searchableguy commented 2 years ago

We decided to use https://playwright.dev/ which is more stable and maintained by Microsoft instead of cypress.

searchableguy commented 2 years ago

Cypress doesn't support safari and apple ecosystem which is a major PITA aside from other issues due to their architecture of embedding browser window directly and using it to drive tests.

julien51 commented 1 year ago

@kalidiagne Can you please provide an update for this?