guardian/frontend — pull request #2168 by marcjones (2013-10-29 10:51:11+00:00)
Title: Add wait for related content transclusion and increase wait timeout

Okay, looks like I was wrong and we do need to make casper wait for the related content trailblock to be transcluded after page load. It was failing before as the wait was timing out. The default wait timeout is 5 seconds, so I've also increased this to 10 seconds. The test usually completes in under 10 seconds, but it seemed that 5 seconds was not always long enough for the wait timeout.