def all_tabs_are_visible(driver): page = CompliancePages(driver) assert page.details_tab() assert page.ecju_queries_tab() assert page.notes_tab() assert page.generated_documents_tab() assert page.visits_tab()
def visit_case_created(driver, context): page = CompliancePages(driver) page.visits_tab().click() assert page.find_paginated_compliance_visit_case("visit-" + context.visit_case_id)