ghostbuster
ghostbuster copied to clipboard
Plans for multiple session support?
I'm imagining writing something like this to test user to user interactions via websockets:
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!