VRFS-2001 - order-dependent :=3
This commit is contained in:
parent
7baa18b054
commit
606c2031fb
|
|
@ -50,10 +50,9 @@ 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 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
|
||||
sleep 10 # 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
|
||||
|
|
@ -98,6 +97,9 @@ describe "Deployed site at #{www}", :js => true, :type => :feature, :capybara_fe
|
|||
as_monitor(user2) do
|
||||
sign_out_poltergeist(validate: true)
|
||||
end
|
||||
|
||||
puts "[monitor] Waiting a bit to clean up connections..."
|
||||
sleep 11 #to clean up user sessions on server
|
||||
end
|
||||
|
||||
let(:queue_limit) { 5 }
|
||||
|
|
|
|||
Loading…
Reference in New Issue