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 view_visit_case_and_check_tabs(driver, context): page = CompliancePages(driver) page.view_visit_case(context.visit_case_id) assert page.ecju_queries_tab() assert page.generated_documents_tab()