mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
help: Add functional test to check status logs page
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
5a8873508d
commit
b8737ad663
3 files changed
+45
No files matched your search
@@ -150,3 +150,11 @@ def compare_files(file1, file2):
|
||||
file2_contents = open(file2, 'rb').read()
|
||||
|
||||
assert file1_contents == file2_contents
|
||||
|
||||
|
||||
def go_to_status_logs(browser):
|
||||
browser.visit(default_url + '/plinth/help/status-log/')
|
||||
|
||||
|
||||
def are_status_logs_shown(browser):
|
||||
return browser.is_text_present('Logs begin')
|
||||
Reference in new issue
Block a user