pagekite: Fix functional tests by submitting the right form

- Don't attempt to submit the diagnostics submit button's form instead.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2020-03-12 13:33:10 -07:00 committed by Veiko Aasa
parent 66b03a943b
commit 23454573e2
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -271,7 +271,7 @@ def pagekite_configure(browser, host, port, kite_name, kite_secret):
browser.fill('pagekite-server_port', str(port))
browser.fill('pagekite-kite_name', kite_name)
browser.fill('pagekite-kite_secret', kite_secret)
submit(browser)
submit(browser, form_class='form-configuration')
def pagekite_get_configuration(browser):