Ha! 

I was thinking of this (and I continue to think of this) as two separate problems, but I do find myself using the construct in 121543 a lot. 

However, I am still concerned about the token/cookie issue and I'm still trying to get to the bottom of why it happens. 
-Chris 


On Thu, Mar 27, 2014 at 4:55 PM, Jon Robson <jdlrobson@gmail.com> wrote:
Chris seems to have answered this in this patch -
https://gerrit.wikimedia.org/r/121543

On Thu, Mar 27, 2014 at 9:22 AM, Jon Robson <jrobson@wikimedia.org> wrote:
> The VE tests are failing due to the longstanding cookie error. The
> wikitext editor tests are failing on the "I should not see the
> wikitext editor overlay"
> The overlay takes time to disappear and the test doesn't keep this in
> mind and just sees it and declares it having failed. Should we
> introduce a wait step to get round this or there is a more elegant
> way?



--
Jon Robson
* http://jonrobson.me.uk
* https://www.facebook.com/jonrobson
* @rakugojon