def visit_page_with_token token_name, path='/'
workbench_url = Rails.configuration.arvados_workbench_url
if workbench_url.end_with? '/'
def visit_page_with_token token_name, path='/'
workbench_url = Rails.configuration.arvados_workbench_url
if workbench_url.end_with? '/'
def wait_until_page_has text_to_look_for, max_time=30
max_time = 30 if (!max_time || (max_time.to_s != max_time.to_i.to_s))
Timeout.timeout(max_time) do
def wait_until_page_has text_to_look_for, max_time=30
max_time = 30 if (!max_time || (max_time.to_s != max_time.to_i.to_s))
Timeout.timeout(max_time) do