title: $:/core/ui/testcases/DefaultTemplate code-body: yes \whitespace trim \procedure linkcatcherActions() <%if [has[title]] %> <$qualify title=<> name="qualifiedState"> <$action-setfield $tiddler=<> text=<>/> <%endif%> \end <$let state={{{ [] }}} >

<$genesis $type={{{ [!match[]then[$link]else[span]] }}} to=<>> <%if [!match[]] %> !match[fail]then[tc-test-case-result-icon-pass]] [match[fail]then[tc-test-case-result-icon-fail]] +[join[ ]] }}}> <%if [!match[fail]] %> {{$:/core/images/done-button}} <%else%> {{$:/core/images/close-button}} <%endif%> <%endif%> <$view tiddler="Description" mode="inline"/> <$button popup=`$(state)$-more` tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class="tc-btn-invisible" selectedClass="tc-selected" > {{$:/core/images/down-arrow}} <$let tv-config-toolbar-icons="yes" tv-config-toolbar-text="yes" tv-config-toolbar-class="tc-btn-invisible" > <$reveal state=`$(state)$-more` type="popup" position="belowleft" animate="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TestCase/Actions]!has[draft.of]]" variable="listItem" > <$transclude $tiddler=<> $mode="inline"/>

<%if [[Narrative]is[tiddler]] %>
<$transclude $tiddler="Narrative" $mode="block"/>
<%endif%> <%if [match[fail]] %>
TEST FAILED
<$diff-text source=<> dest=<>/>
<%endif%>
<$macrocall $name="tabs" tabsList="[all[tiddlers]sort[]] -[prefix] -Description -Narrative -Output Output +[putfirst[]] -[has[plugin-type]]" state=<> default="Output" template="$:/core/ui/testcases/DefaultTemplate/SourceTabs"/>
<%if [!match[]else[wikitext]match[plaintext]] %>
<$view tiddler="Output" format="plainwikified" mode="block"/>
<%else%> <$linkcatcher actions=<>> <$tiddler tiddler="Output"> <$transclude $tiddler="Output" $mode="block"/> <%endif%>