News for hackers. Stuff that matters.
Re:Playwright-test – cross-browser end-to-end test suite wit... by troglodynellc on Tuesday April 06, 2021 @04:05PM (#26716719)
Cypress appears to have more features dedicated specifically to making testing easier, such as a user interface and various debugging additions and integrations into various other tools.

Playwright is just an API for controlling the browser, and appears to be far more powerful in that regard.

Compare the api documentation, and it's not even close: https://docs.cypress.io/api/table-of-contents

https://playwright.dev/docs/api/class-playwright

Re:Playwright-test – cross-browser end-to-end test suite wit... by holler on Tuesday April 06, 2021 @04:12PM (#26716796)
It looks like Cypress added Firefox & Edge support last year but initially it was just Chrome.

Playwright also has a python version (https://github.com/microsoft/playwright-python)

And I just discovered that they now have a real nifty debugger you can use to inspect/step-through tests as they run (https://playwright.dev/docs/next/debug/#playwright-inspector)

Re:Playwright-test – cross-browser end-to-end test suite wit... by loulouxiv on Tuesday April 06, 2021 @06:22PM (#26718111)
They also have a code generator that can record your actions and turn them into scripts