Testing new client side wait to increase hook consistency in test.
This commit is contained in:
@@ -114,7 +114,7 @@ RSpec.describe 'AutoRunEngine Test', :run_on_browserstack => true do
|
||||
end
|
||||
|
||||
it 'AutoRunEngine is working' do
|
||||
expect(@hooks['hooked-browsers']['online']).not_to be_empty
|
||||
expect(@hooks['hooked-browsers']['online']).not_to be_empty.or @driver.execute_script("return window.beef.session.get_hook_session_id()").length.to eq 80
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user