> Yeah, this can be a bit tricky with all the runs and waitsFor...... another option would be to use your previous getEditor method inside the tests to resolve the editor variable, and then pass it to the helper methods.

That would be the same as now, except if the get is inside the run functions of the check method as before.