Date: 2022

<aside> 💡

Hola friends! We recently created a Discord for Software Automation where we discuss these kinds of topics on a bi-weekly basis.

</aside>

Background

Our goal is to choose what test framework/runner we want to use in order to enable us to write/introduce our first E2E browser smoke test.

In Nextjs/Javascript land there's really only two top modern choices, Playwright and Cypress. While both tools are strong and fairly new and check similar boxes, we wanted to make sure we choose the framework for us that will scale with us and fit our needs.

Playwright/Cypress Browser Support:

Key differences in Browser support:

Cypress also supports Electron, but does NOT support Webkit (Safari) like Playwright does. If Safari is important to us then this is a borderline showstopper.

Pros and Cons for Playwright/Cypress

Below is a list of Pros and Cons for each tool prioritized by importance IMO followed by a general summary and my 2cents.

Cypress Pros: