Testing new client side wait to increase hook consistency in test.

This commit is contained in:
Jack Walker
2020-04-29 12:58:26 +10:00
parent ca1df10953
commit daef8b0a22

View File

@@ -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