sso: tests: functional: Find forms more accruately

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:23:38 -07:00 committed by James Valleroy
parent 20eb6ef817
commit 5935ce89a6
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
{% block content %}
<form class="form" method="post">
<form class="form form-login" method="post">
<div class="row">
{% csrf_token %}

View File

@ -284,7 +284,7 @@ def login_with_account(browser, url, username, password=None):
if login_button:
browser.fill('username', username)
browser.fill('password', password)
submit(browser)
submit(browser, form_class='form-login')
else:
browser.visit(base_url + '/plinth/firstboot/welcome')
submit(browser, form_class='form-start') # "Start Setup" button