Commit ccd7b3f0 authored by Jérome Perrin's avatar Jérome Perrin

configurator_standard_ui_test: include a step checking there was no error

parent bff8777e
Pipeline #8989 failed with stage
...@@ -5,8 +5,14 @@ message_list = ["Configuration is over. Enjoy your new ERP5 system!", ...@@ -5,8 +5,14 @@ message_list = ["Configuration is over. Enjoy your new ERP5 system!",
"You will be redirected to a form in which you can login using", "You will be redirected to a form in which you can login using",
"one of yours newly created ERP5 user accounts."] "one of yours newly created ERP5 user accounts."]
portal.REQUEST.RESPONSE.setHeader('content-type', 'text/plain')
for message in message_list: for message in message_list:
if not message in html_status_report: if not message in html_status_report:
return 'False' print "Error: {message} not found in status report".format(message=message)
for log in portal.error_log.getLogEntries():
print "Error: {type} {value} {tb_text}".format(**log)
if str(printed):
return printed
return 'True' return 'True'
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment