1. Managed to finally get some selenium viewtests working, but had a bit of trouble along the way targeting a window opened with javascript. Since that was the reason for using selenium in the first place I needed to get it working.

    I eventually managed to get the selenium to target the opened window and check for the existence of text on each of the sites the links led to.

    I then had a bit of trouble, checking the visibility of an element and on the page which seemed to be fixed by changing the order in which the tests were running.

    All in all, pretty daunting, because I can see that Selenium could potentially test a whole load of things very usefully, but there’s still a pretty steep learning curve.

    At least now I can move the ticket into completed - until the next version of that feature. Which will hopefully be done by writing the tests first.

Notes