News for hackers. Stuff that matters.
Re:Cypress: Fast, easy, and reliable testing for anything th... by mrslave on Thursday December 10, 2020 @09:36PM (#25381599)
I don't understand the difference between Selenium and Cypress. Is Cypress general control of the browser but just nicer somehow? Or is there a deeper disconnect in their designs/capabilities?
Re:Cypress: Fast, easy, and reliable testing for anything th... by mavelikara on Thursday December 10, 2020 @11:11PM (#25382192)
Here is a good comparison published by one other Open Source and free tool in this space, Taiko: https://gauge.org/2019/08/21/how-taiko-compares-to-other-bro...
Re:Cypress: Fast, easy, and reliable testing for anything th... by sicromoft on Friday December 11, 2020 @01:42AM (#25383065)
Has anyone here used Taiko? The link above makes it sound pretty good.
Re:Cypress: Fast, easy, and reliable testing for anything th... by inglor on Friday December 11, 2020 @04:10AM (#25383785)
I go into the "in depth" bits of how each browser "clicks" in a few talks but basically: - Cypress solves a much easier problem (no multiple tabs, no native actions no hovers etc). - Cypress does everything in JavaScript and not with the debugger (like old versions of Selenium). - Cypress is bidirectional (like puppeteer/playwright or selenium bidi). - Cypress has very good dev tooling out of the box.

See the article I wrote here: https://www.testim.io/blog/puppeteer-selenium-playwright-cyp...

Re:Cypress: Fast, easy, and reliable testing for anything th... by fizzbuzzah2 on Thursday December 10, 2020 @09:53PM (#25381715)
or puppeteer.
Re:Cypress: Fast, easy, and reliable testing for anything th... by DaiPlusPlus on Friday December 11, 2020 @12:19AM (#25382584)
Puppeteer is Chromium-specific though.
Re:Cypress: Fast, easy, and reliable testing for anything th... by svacko on Friday December 11, 2020 @03:24AM (#25383588)
there is already experimental Firefox support for a while in puppeteer https://github.com/puppeteer/puppeteer/#q-which-firefox-vers...
Re:Cypress: Fast, easy, and reliable testing for anything th... by Muromec on Friday December 11, 2020 @01:39AM (#25383036)
But Playwright isn’t.
Re:Cypress: Fast, easy, and reliable testing for anything th... by jitl on Friday December 11, 2020 @12:38AM (#25382697)
That’s okay, Chrome is the only browser.