mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-03-12 17:51:58 -07:00
* 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
No EOL
640 B
Text
23 lines
No EOL
640 B
Text
title: Data/ImportTiddler
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
description: Importing a payload tiddler and adding custom fields
|
|
|
|
title: Description
|
|
text: Importing a payload tiddler and adding custom fields
|
|
+
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
<$testcase template="$:/core/ui/testcases/RawJSONTemplate">
|
|
<$data $tiddler="HelloThere" custom="Alpha"/>
|
|
</$testcase>
|
|
+
|
|
title: HelloThere
|
|
tags: Definitions
|
|
|
|
This is the tiddler HelloThere
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p><div class="tc-test-case "><div>[{"title":"HelloThere","tags":"Definitions","text":"This is the tiddler HelloThere","custom":"Alpha"}]</div></div></p> |