Пример #1
0
def jsxc_add_contact(browser):
    """Add a contact to JSXC user's roster."""
    system.set_domain_name(browser, 'localhost')
    application.install(browser, 'jsxc')
    jsxc_login(browser)
    new = browser.find_by_text('new contact')
    if new:  # roster is empty
        new.first.click()
        browser.find_by_id('jsxc_username').fill('alice@localhost')
        browser.find_by_text('Add').first.click()
Пример #2
0
def change_domain_name_to(browser, domain):
    system.set_domain_name(browser, domain)
Пример #3
0
def change_domain_name_to(browser, domain):
    system.set_domain_name(browser, domain)
Пример #4
0
def set_domain_name(browser, domain):
    system.set_domain_name(browser, domain)
Пример #5
0
def change_domain_name_to(session_browser, domain):
    system.set_domain_name(session_browser, domain)
Пример #6
0
def set_domain_name(session_browser, domain):
    system.set_domain_name(session_browser, domain)