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:
James Valleroy authored and Sunil Mohan Adapa committed 2019-01-28 09:57:02 -08:00
1 parent 5a8873508d
commit b8737ad663
3 files changed
+45

No files matched your search

+8
View File
@@ -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')