Skip to content

Commit

Permalink
Fix testcase heading link destination
Browse files Browse the repository at this point in the history
  • Loading branch information
Jermolene committed May 28, 2024
1 parent 2312cd3 commit b5bd4c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/ui/TestCaseTemplate.tid
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ title: $:/core/ui/TestCaseTemplate
<$let
linkTarget="yes"
displayFormat={{!!display-format}}
testcaseTiddler=<<currentTiddler>>
>
<$testcase
testOutput="Output"
Expand Down
2 changes: 1 addition & 1 deletion core/ui/TestCases/DefaultTemplate.tid
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ title: $:/core/ui/testcases/DefaultTemplate
<div class="tc-test-case-wrapper">
<div class="tc-test-case-header">
<h2>
<$genesis $type={{{ [<linkTarget>!match[]then[$link]else[div]] }}}>
<$genesis $type={{{ [<linkTarget>!match[]then[$link]else[div]] }}} to=<<testcaseTiddler>>>
<%if [<testResult>!match[]] %>
<span class={{{ tc-test-case-result-icon [<testResult>!match[fail]then[tc-test-case-result-icon-pass]] [<testResult>match[fail]then[tc-test-case-result-icon-fail]] +[join[ ]] }}}>
<%if [<testResult>!match[fail]] %>
Expand Down

0 comments on commit b5bd4c9

Please sign in to comment.