Exemplo n.º 1
0
def remove_ci():
    entry_url = browser.url
    wait_for_element_by_id('unlink-ci-1', timeout=10, retry=0.25)
    browser.click_link_by_id('unlink-ci-1')
    wait_for_url_path_or_query_changed(entry_url,
                                       timeout=10,
                                       retry=0.25,
                                       post_change_delay=1)
def click_edit_survey_details_button():
    browser.click_link_by_id('edit-survey-details-199')
def user_clicks_to_edit_survey_details_page_for_survey_in_context(context):
    btn_id = f"edit-survey-details-{context.survey_ref}"
    browser.click_link_by_id(btn_id)
def respondent_partially_completes_survey(context):
    signed_in_respondent(context)
    browser.click_link_by_id('access_survey_button_1')
    browser.click_link_by_id('download_survey_button')
def enrolling_onto_survey(context):
    signed_in_respondent(context)
    browser.click_link_by_id('access_survey_button_1')
    collection_exercise_details.upload_collection_instrument(
        test_file='resources/collection_instrument_files/064_201803_0001.xlsx')
    browser.find_by_id('upload_survey_button').click()
Exemplo n.º 6
0
def remove_sample():
    browser.click_link_by_id('remove_sample_btn_1')
Exemplo n.º 7
0
def click_edit_collection_exercise_user_description_button():
    browser.click_link_by_id('edit-collection-exercise-user-description')
Exemplo n.º 8
0
def click_edit_collection_exercise_period_button():
    browser.click_link_by_id('edit-collection-exercise-period')