From ec611424cb24c6bbe40e8acc64f06294f5b4dfa4 Mon Sep 17 00:00:00 2001 From: yevh-berdnyk Date: Wed, 29 Aug 2018 15:01:44 +0300 Subject: [PATCH] Fixed GH report layout and limited length of errors Signed-off-by: yevh-berdnyk --- test/appium/support/github_report.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/appium/support/github_report.py b/test/appium/support/github_report.py index f78ab6a1a5..5292084036 100644 --- a/test/appium/support/github_report.py +++ b/test/appium/support/github_report.py @@ -66,7 +66,7 @@ class GithubHtmlReport(BaseTestReport): html += "%s" % ''.join(test_steps_html[-2:]) html += "" html += "

" - html += "%s" % last_testrun.error + html += "%s" % last_testrun.error[:255] html += "

" if last_testrun.jobs: html += self.build_device_sessions_html(last_testrun.jobs, last_testrun) @@ -77,10 +77,12 @@ class GithubHtmlReport(BaseTestReport): html = "Device sessions" html += "