def update_plugin_list(url, check_confirmation=True): provd_general_action_webi.update_plugin_server_url(url) common.open_url('provd_plugin') world.browser.find_element_by_id('toolbar-bt-update').click() wait_time = 7 if check_confirmation: _check_for_confirmation_message(wait_time) else: time.sleep(wait_time)
def then_plugins_list_has_error_during_update(step): assert provdp_action_webi.plugins_error_during_update() provdg_action_webi.update_plugin_server_url(STABLE_URL)