DEV Community

Cover image for You can tell that DEV.TO uses Cypress for testing
Donovan Price
Donovan Price

Posted on

You can tell that DEV.TO uses Cypress for testing

I'm tired of telling people to stop using Cypress for testing. 🙄

DEV Community is using Cypress to test their website.

This is how it looks in Internet Explorer 11:

dev.to internet explorer

And here is how it looks in Safari:

dev.to Safari

Why you should not use Cypress:

  1. It does not work on Safari.
  2. It does not work on Internet Explorer.
  3. It does not work on mobile browsers.
  4. It cannot handle multiple browser tabs.
  5. It's nearly impossible to make it work with iframes.
  6. It's nearly impossible to test file uploads.

There are also other technical reasons, mostly related to bad architecture, like the fact that it runs inside JavaScript instead of calling the browser APIs from outside of the browser.

Even if your users are tech savvy and they're all using Chrome, having a website that doesn't work in other browsers just makes you look like an amateur.

The dirty tactics used by Cypress:

Sadly, Cypress is tolerated on DEV Community.

If you mention anything bad about Cypress, the Cypress Ambassadors will report your article or your comment.

Cypress is a for-profit corporation that label themselves as "open source", abusing buzzwords like "community".

There is no community behind Cypress, just a huge Marketing budget.

They're trying so hard that they even removed the Pricing link from their homepage, to give you the impression that it's 100% free.

Did you ever read an article where someone was saying that Selenium is outdated and causes flaky tests and promoted Cypress as being the better alternative?

If you would search for that article again, you will see that it was most likely written by a Cypress Ambassador, technical people who are paid to spam about Cypress all over the internet.

Speaking of articles, you should bookmark this one and check in a few days to see if it's still here. It will probably be deleted and my account will be silenced.

What is the alternative?

Cypress folks will tell you that every tool has drawbacks, but that's not true.

That's actually just something they're saying in order to justify their awful solution.

Selenium is 100% open source and free, there is no extra service that you need to purchase.

Selenium works on all major browsers and mobile devices.

It supports multiple browser tabs, iframes and file uploads.

If you don't want to execute Selenium tests on your own machine, you can connect them to external grids like BrowserStack and Sauce Labs.

If you're looking for a faster way to build tests and execute them on a cross-browser cloud, you might also want to try Endtest or Mabl.

Top comments (1)

Collapse
 
pavelloz profile image
Paweł Kowalski • Edited

If you mention anything bad about Cypress, the Cypress Ambassadors will report your article or your comment.

Cypress is a for-profit corporation that label themselves as "open source", abusing buzzwords like "community".

Heh, i thought that was only my impression that suddenly some people become very hostile when i say i dont use cypress (because i and my team prefer testcafe).

I gave like 7 different reasons and i was still accused of being employee or smth... Like i couldnt just like it more because its better. ;-)

Glad im not the only one seeing this weird bias/fanatic behavior.

PS. To be fair, i dont care about ie 11 either. And i think noone should in 2020 for the sake of mental and web health.