def verify_added_template(browser, session_vars): DomainManagementPO(browser).waiter().verify_added_template(session_vars['template_name'])
def click_on_template(browser, session_vars): DomainManagementPO(browser).waiter().click_on_template(session_vars['template_name'])
def verify_subdomain_menu(browser): DomainManagementPO(browser).verify_subdomain_menu()
def click_add_template(browser): DomainManagementPO(browser).click_add_template()
def choose_option(browser, option): if option == 'Create subdomain': DomainManagementPO(browser).choose_option(option) else: raise ('Unsupported option')
def open_subdomain_menu(browser): DomainManagementPO(browser).open_subdomain_menu()
def update_domain_management(browser): DomainManagementPO(browser).waiter() time.sleep(3) BasePO(browser)._update_page()
def verify_created_domain(browser, session_vars): DomainManagementPO(browser).waiter().verify_domain( session_vars['domain_name'])
def verify_mh_global_management(browser): DomainManagementPO(browser).verify_domain_managment_page()