Пример #1
0
def notification_on_end_user_advisory_list(driver, context, total):
    assert total == EndUserAdvisoryPage(driver).row_notifications()
Пример #2
0
def click_copy(driver):
    EndUserAdvisoryPage(driver).click_row_copy()
Пример #3
0
def open_already_created_end_user_advisory(driver, context):
    EndUserAdvisoryPage(driver).open_end_user_advisory(context.end_user_advisory_id)
Пример #4
0
def see_end_user_advisory(driver, context):
    assert context.end_user_advisory_ecju_reference in EndUserAdvisoryPage(driver).get_row_text()
Пример #5
0
def filter_end_user(driver, context):
    EndUserAdvisoryPage(driver).filter_by_name(context.end_user_advisory_name)
Пример #6
0
def apply_for_end_user_advisory(driver):
    EndUserAdvisoryPage(driver).click_apply_for_advisories()
    functions.click_submit(driver)
Пример #7
0
def notification_on_notes_tab(driver, context):
    assert context.text in EndUserAdvisoryPage(driver).latest_case_note_text()
Пример #8
0
def notification_on_notes_tab(driver, context):
    end_user_advisory_page = EndUserAdvisoryPage(driver)
    assert "1" in end_user_advisory_page.case_note_notification_bubble_text()
    assert context.case_note_text in end_user_advisory_page.latest_case_note_text()