mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
functional-tests: Skip network setup wizard
Fixes #1781 Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> [sunil: Update to work with latest code] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
55f4573e93
commit
adc1c67e12
@ -41,6 +41,11 @@ def login(browser, url, username, password):
|
||||
browser.visit(default_url + '/plinth/firstboot/welcome')
|
||||
submit(browser) # click the "Start Setup" button
|
||||
create_admin_account(browser, username, password)
|
||||
if '/network-topology-first-boot' in browser.url:
|
||||
submit(browser, element=browser.find_by_name('skip')[0])
|
||||
|
||||
if '/internet-connection-type' in browser.url:
|
||||
submit(browser, element=browser.find_by_name('skip')[0])
|
||||
|
||||
|
||||
def is_login_prompt(browser):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user