From 7baa18b054c4b72d462e2ef054021c2f2bea69cf Mon Sep 17 00:00:00 2001 From: Anthony Davis Date: Thu, 11 Sep 2014 16:20:22 -0500 Subject: [PATCH] VRFS-2001 - debug --- monitor/spec/production_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/monitor/spec/production_spec.rb b/monitor/spec/production_spec.rb index d3b97bc94..f55397b90 100755 --- a/monitor/spec/production_spec.rb +++ b/monitor/spec/production_spec.rb @@ -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