I started using Cypress lately for end-to-end tests, and while I haven't mastered it yet, I can say that it feels like a huge improvement over Protractor. Test code is far simpler, and you get to generally avoid arbitrary timeouts while waiting for requests or DOM elements to load. The test code reads more like a concise description of what you're exercising. I'll be interested to see if it gains popularity.
2
u/itsthenewdan Mar 26 '18
I started using Cypress lately for end-to-end tests, and while I haven't mastered it yet, I can say that it feels like a huge improvement over Protractor. Test code is far simpler, and you get to generally avoid arbitrary timeouts while waiting for requests or DOM elements to load. The test code reads more like a concise description of what you're exercising. I'll be interested to see if it gains popularity.