'Run the tests as an administrator'

def as_admin():

    config = current.test_config
    browser = config.browser
    driver = browser
    login(account='admin')
    make_user_orgadmin()
    open_organisation_roles()
    select_user()
    driver.find_element_by_id('role_volvol_reader').click()
    driver.find_element_by_id('role_projectproject_data_entry').click()
    driver.find_element_by_id('role_projectproject_data_entry').submit()
