I’ve had to explain all of the points MPJ makes in this video, many, many times. Now I can just send a link to this video. And while I tend to call out e2e tests as their own thing, deep down they’re really integration tests.
If you’ve seen my github account, you’d likely note that I like trying all the automation tools, and see the value in most. And why would you not try ’em all? Case-in-point: today I played around with an interesting–SPOILER: if not tragically flawed–automation tool called Cypress.
Yeah, I don’t mean to be a downer; I say this hoping to save others the time I spent today… if you need to switch/handle multiple tabs/windows/iframes in a browser for your tests, Cypress will NEVER allow you to do this. They state as much on their website, in the Trade-Offs section. Given its massive ramifications, perhaps it should be stated more upfront?
Cypress is an interesting bit of tech; especially since it doesn’t require Selenium/Webdriver; has built-in implicit waits, and other goodies. The long and the short of it is, I don’t see how this tool could ever take the place of any webdriver-based tool, given its current limitations, but if those don’t bother you, take a look!
In my example test automation code, I generally setup the tests to run against my own server. I feel that it would be downright rude to have random folks running these tests against my digital neighbors. I’m happy to have them run against my server… I mean, it’s kind of the point of the thing.
The downside is when folks start tinkering with the code… and maybe change a locator within a loop to see what happens. Like my friend in India @
126.96.36.199 likely did this morning (well… my morning, anyway), and started PEGGING MY SERVER :)
It’s fine… I do appreciate the accidental load testing…
My–now former–web host decided to triple my annual rate, come renewal time, which was the impetus for me to finally move my sites to my own server. So over this past long weekend, I finalized the move over to my favorite cloud server co., DigitalOcean ($10 promo code link!).
It ended up being pretty fun… in a nerdy kinda way. I decided to go with LEMP, over LAMP, and I gotta say, NGINX is pretty fantastic. I’m also making use of CloudFlare, a CDN, DNS, security, performance wünderkind! And it’s FREE.
Anywho, if you notice anything not working on the site, please ping me using one of the contacts in the sidebar. TANKS!