From a856d0b322c6f5185e4c423be1a51cfcfb512002 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 7 May 2024 19:13:14 +0100 Subject: [PATCH] Docs update for 648855e8a50b1ee3bef3120b64b5713b69190c9b --- .../testcases/TranscludeWidget/SimpleTransclusion.tid | 4 ++-- editions/tw5.com/tiddlers/widgets/TestCaseWidget.tid | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/editions/tw5.com/tiddlers/testcases/TranscludeWidget/SimpleTransclusion.tid b/editions/tw5.com/tiddlers/testcases/TranscludeWidget/SimpleTransclusion.tid index 7bd92f13e..1a3af78aa 100644 --- a/editions/tw5.com/tiddlers/testcases/TranscludeWidget/SimpleTransclusion.tid +++ b/editions/tw5.com/tiddlers/testcases/TranscludeWidget/SimpleTransclusion.tid @@ -5,7 +5,7 @@ description: Simple transclusion title: Output -Good morning, my name is {{Name}} and I live in {{Address}} +Good morning, my [[name|Name]] is {{Name}} and I [[live in|Address]] {{Address}} + title: Name @@ -16,4 +16,4 @@ title: Address 14 Carrot Street, Vegetabletown + title: ExpectedResult -text:

Good morning, my name is Robert Rabbit and I live in 14 Carrot Street, Vegetabletown

+text:

Good morning, my name is Robert Rabbit and I live in 14 Carrot Street, Vegetabletown

diff --git a/editions/tw5.com/tiddlers/widgets/TestCaseWidget.tid b/editions/tw5.com/tiddlers/widgets/TestCaseWidget.tid index 2369ed500..fa2dd20a2 100644 --- a/editions/tw5.com/tiddlers/widgets/TestCaseWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/TestCaseWidget.tid @@ -19,6 +19,8 @@ Here is an example of a testcase showing the default split view with the source The payload tiddlers listed in the tabs on the left are editable, with the results being immediately reflected in the preview pane on the right. However, if the <<.wid testcase>> widget is refreshed then the modifications are lost. +Notice also that clicking on links within the output pane will switch to the tab containing that tiddler. + The green tick at the top left of a testcase indicates that a test has been set up and that it passes. If the test fails, a red cross is shown, and there is a display of the differences between the actual results and the expected results: