The appeal of using Intern for functional testing web apps, was the easy setup and use of the ‘SeleniumTunnel’ which means you don’t have to manually install Selenium to your machine - intern takes care of all this for you.
However, I’m not a big fan of Interns test framework for controlling the web driver. I say Intern - I mean Leadfoot, which is the interface Intern uses to talk to Selenium. I’m not a javascript man and the way leadfoot uses promises didn’t click naturally with me.
The below is an example of the best way I’ve found to structure multiple assertions on multiple elements. Its not pretty, and I don’t like it - so if anyone knows a better way - let me know!
I took a ‘career break’ from April 2017 to April 2018, to travel, learn new skills, spend more time in bed and do stuff that I used to do before getting a de...
You can define custom properties in your intern config file and access then by requiring intern var intern = require('intern');
and using intern.config.{pro...
I had real trouble trying to find tutorials, or even solid documentation on how to get this setup, and even more trouble getting the Cloudformation scripts t...
Comments