Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans for multiple session support? #20

Open
nickmerwin opened this issue Jan 25, 2012 · 0 comments
Open

Plans for multiple session support? #20

nickmerwin opened this issue Jan 25, 2012 · 0 comments

Comments

@nickmerwin
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant