Re:Cypress: Fast, easy, and reliable testing for anything th...
by Guillaume86 on Friday December 11, 2020 @04:37AM
(#25383915)
Same experience here, moved from cypress to testcafe after getting frustrated by cypress API.
It was some time ago so I may not remember correctly but I felt like cypress was not for people already fluent in javascript, a bit like jquery but pushed even further (you need to do everything the cypress way now, you can't even use variables or promises...).
Re:Cypress: Fast, easy, and reliable testing for anything th...
by wdb on Friday December 11, 2020 @06:28AM
(#25384551)
Doesn't it force you to use some form of page objects?
That stopped me from using TestCafe didn't like that
Re:Cypress: Fast, easy, and reliable testing for anything th...
by mstapp on Friday December 11, 2020 @08:52AM
(#25385685)
No, page objects (AKA page models) are a recommended but optional pattern in TestCafe.
We use them on my team because they make the tests more readable and keep us from having copies of the same selectors in multiple places, but you can easily use TestCafe without them.
[1]: https://devexpress.github.io/testcafe/