mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
security: Use AppView for app page
Tests: - Enable/disable button is not shown. - Diagnostics are shown and work. - Initial status of the configuration is show properly. - Enabling/disabling configuration options reflects correct status. - Status of frequent features updates shows properly. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
a7eb5e8f0e
commit
29bf55dedb
4 files changed
+27
-21
No files matched your search
@@ -4,6 +4,7 @@ Functional, browser based tests for security app.
|
||||
"""
|
||||
|
||||
import pytest
|
||||
|
||||
from plinth.tests import functional
|
||||
|
||||
pytestmark = [pytest.mark.system, pytest.mark.essential, pytest.mark.security]
|
||||
@@ -44,7 +45,7 @@ def _enable_restricted_logins(browser, should_enable):
|
||||
else:
|
||||
browser.uncheck('security-restricted_access')
|
||||
|
||||
functional.submit(browser)
|
||||
functional.submit(browser, form_class='form-configuration')
|
||||
|
||||
|
||||
def _get_restricted_logins(browser):
|
||||
|
||||
Reference in new issue
Block a user