DEV Community

Discussion on: React Testing Crash Course

Collapse
 
eastonaltman profile image
Easton Altman

So, you're suggesting to use Cypress to execute tests in the browser.
But Cypress doesn't run on Edge, Safari, Internet Explorer and mobile browsers.
And performing some basic operations (iframes, file uploads, multiple tabs) is a nightmare in Cypress.
What do you suggest we use instead?

Collapse
 
sonicoder profile image
Gábor Soós

Puppeteer, Playwright and Testcafe can be alternatives for cross-browser testing. If really not necessary I would drop IE in favor of Edge.

Collapse
 
eastonaltman profile image
Easton Altman

What do you mean drop IE in favor of Edge?

We can ask users to change their default browser, that's not how things work.

Puppeteer works only with Chrome.

Playwright does not work with internet Explorer, Safari or mobile browsers.

TestCafe is pretty awful.

Why didn't you mention Selenium?