first_boot: tests: functional: Find form more specifically

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2022-08-30 22:21:51 -07:00 committed by James Valleroy
parent 41cf738f8e
commit 7ef98a74d6
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ no-brand
src="{% static 'theme/img/freedombox-logo-standard.svg' %}"/>
</div>
<form class="form text-center" method="post">
<form class="form form-start text-center" method="post">
{% csrf_token %}
{% if show_wizard_password_prompt %}

View File

@ -287,7 +287,7 @@ def login_with_account(browser, url, username, password=None):
submit(browser)
else:
browser.visit(base_url + '/plinth/firstboot/welcome')
submit(browser) # click the "Start Setup" button
submit(browser, form_class='form-start') # "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])