yui/yeti — pull request #13 by davglass (2012-06-13 14:45:11+00:00)
Title: Agent disconnect

First proxying of `agentDisconnect` event. This will work on the capture page now.

You can start up the hub, then start a client, then connect two browsers. You should see the connect message in the cli. Now close one of the browsers and you should see the disconnect message in the cli. Now run the tests, they should complete because the agent was not registered at the time the batch ran.

This does not fix the agent going away after the test is submitted. I still need to figure out this case, the unload works in this case, but the agent is still registered to the batch and the batch doesn't know that it's gone.