joshbuddy/ghostbuster — Issue #20: Plans for multiple session support?
Author: yickster
Created: 2012-01-25 21:58:13+00:00
State: open

I'm imagining writing something like this to test user to user interactions via websockets:

```coffee-script
phantom.test.add "Pinging via push", ->
session1 = @get '/user_1', ->
@body.click "#pingUser2"

session2 = @get '/user_2', ->
@body.assertFirst ".newPings", (ping)-> ping.innerHTML == "user_1"
@wait 1, ->
@succeed()
```

Is something like it in the works? Or would it necessitate a complete overhaul?

Thanks!