mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-10 08:00:03 +00:00
![Mario Pietsch](/assets/img/avatar_default.png)
* add tc-tesc-case class to testcase-widget * add default and custom class to testcase-widget * Testcase widget update tests for default and custom class definitions
23 lines
631 B
Plaintext
23 lines
631 B
Plaintext
title: Data/ImportCustomTitle
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
description: Importing a payload tiddler and overwriting the title
|
|
|
|
title: Description
|
|
text: Importing a payload tiddler and overwriting the title
|
|
+
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
<$testcase template="$:/core/ui/testcases/RawJSONTemplate">
|
|
<$data $tiddler="HelloThere" title="RealTitle"/>
|
|
</$testcase>
|
|
+
|
|
title: HelloThere
|
|
tags: Definitions
|
|
|
|
This is the tiddler HelloThere
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p><div class="tc-test-case "><div>[{"title":"RealTitle","tags":"Definitions","text":"This is the tiddler HelloThere"}]</div></div></p> |