1
# 3) Check the following links on the login page to ensure they are all working:
2
# Login support, Find out more, Source code for this service, AGPL, Terms of
3
# Service, Privacy Policy, ubuntu logo {ubuntu.com}
5
# This tests only the links with link text, not the Ubuntu logo.
7
from canonical.isd.tests.sst import config
8
from sst.actions import *
10
config.set_base_url_from_env(default_to='https://login.staging.ubuntu.com/')
13
wait_for(assert_title, 'Log in')
14
click_link(get_element(text=link_text))
15
wait_for(assert_title, title)