Skip to content

Commit e5c1117

Browse files
committed
test(core): add missing script to main diff report
[no changelog]
1 parent 8f80a83 commit e5c1117

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ui_tests/reporting/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ def _create_testcase_html_diff_file(
168168
) -> Path:
169169
test_name = test_case.id
170170
doc = document(title=test_name, model=test_case.model)
171+
with doc.head:
172+
script(
173+
type="text/javascript", src="https://cdn.jsdelivr.net/npm/pixelmatch@5.3.0"
174+
)
171175
with doc:
172176
h1(test_name)
173177
p("This UI test differs from master.", style="color: grey; font-weight: bold;")

0 commit comments

Comments
 (0)