DEV Community

loading...

Discussion on: Playwright for E2E testing?

Collapse
rafi993 profile image
Rafi

Isn't Playwright much closer to Puppeteer than cypress?

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Yeah, I mention that in the post. On its own it does not do any test assertions, but you can integrate it with jest, mocha etc. To provide e2e testing.

Collapse
rafi993 profile image
Rafi

Awesome. I would love to hear more about this.

Collapse
rafi993 profile image
Rafi

Much suited for more general things like scraping and automating browser instead of testing.

Collapse
arjunattam profile image
Arjun Attam

Arjun from the Playwright team here. Yes, Playwright - as it stands today - is an automation API and one can use it with testing frameworks to enable e2e testing. To improve this experience, we are investing in e2e test tooling around Playwright. For example, playwright-runner is an upcoming first-party test runner integration. Docs coming soon for early adopters!

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Awesome! Thanks so much for chiming in Arjun.

Hackerman from Kung Fury putting on a Nintendo Power glove