diff --git a/.github/scripts/tests/generate-summary.py b/.github/scripts/tests/generate-summary.py index b8274ee0f7d..10c43da3fb6 100755 --- a/.github/scripts/tests/generate-summary.py +++ b/.github/scripts/tests/generate-summary.py @@ -80,8 +80,12 @@ def from_junit(cls, testcase): else: status = TestStatus.PASS + logs_directory = get_property_value(testcase, "url:logs_directory") + if logs_directory is not None: + logs_directory = f"{logs_directory}/index.html" + log_urls = { - "DIR": get_property_value(testcase, "url:logs_directory"), + "DIR": logs_directory, "Log": get_property_value(testcase, "url:Log"), "log": get_property_value(testcase, "url:log"), "stdout": get_property_value(testcase, "url:stdout"),