VRFS-2001 - debug

This commit is contained in:
Anthony Davis 2014-09-11 16:20:22 -05:00
parent 1651f5e2cb
commit 7baa18b054
1 changed files with 3 additions and 1 deletions

View File

@ -50,8 +50,10 @@ describe "Deployed site at #{www}", :js => true, :type => :feature, :capybara_fe
it "is possible for #{user1} to sign in and not get disconnected within 30 seconds" do
as_monitor(user1) do
puts "[monitor] Waiting a bit for other connections to close..."; sleep 10 # www and the fakeJamClient really don't like going fast here
puts "[monitor] Waiting a bit for other any other connections to close..."; sleep 9
sign_in_poltergeist(user1)
puts "[monitor] Waiting a bit after sign-in..."
sleep 6 # www and the fakeJamClient really don't like going too fast here
repeat_for(30.seconds) do
expect(page).to_not have_selector('.no-websocket-connection') #looks for reconnect dialog every 1 second
end