Improve clicking and synchronization in Studio bok-choy tests

@cahrens @minhtuev @benpatterson 
Sure, someone should do that in a subsequent PR. I'd like to get this one in ASAP to fix the current test flakiness.