Cypress: Fast, easy, and reliable testing for anything that runs in a browser
I’ve had to use Cypress at work, and I really don’t like it. I find the command chaining and assertion queuing to be very unintuitive. (“Do I chain this one or not? Maybe stick it in a callback? No idea!”)It’s been a few months since I’ve touched it, so I’m struggling to give more specific criticisms.I’ve had a really great time using Kent Dodd’s DOM Testing Library [1] for unit tests. The readability and writability of these tests has been fantastic. I wish I could use the exact same API for e2e tests. It looks like they actually do have a Cypress version of the Testing Library [2], but it seems to suffer from the same Cypress-isms that I was just complaining about.Has anyone else had a similar experience? It seems like I’m in the minority opinion. Maybe I’m just bothered because I don’t understand Cypress well.[1]: https://testing-library.com/docs/dom-testing-library/intro[2]: https://testing-library.com/docs/cypress-testing-library/int...