2024-05-07 18:33:53 +01:00
|
|
|
title: TestCases/DataWidget/Refreshing
|
|
|
|
type: text/vnd.tiddlywiki-multiple
|
|
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
description: Refreshing the data widget
|
|
|
|
display-format: plaintext
|
|
|
|
|
2024-05-08 13:26:14 +01:00
|
|
|
title: Narrative
|
|
|
|
|
|
|
|
Verifying that the JSON output of the data widget is correctly refreshed when the data changes
|
|
|
|
+
|
2024-05-07 18:33:53 +01:00
|
|
|
title: Output
|
|
|
|
|
|
|
|
<$data title="Epsilon" text={{Subject}}/>
|
|
|
|
+
|
|
|
|
title: Subject
|
|
|
|
|
|
|
|
Nothing
|
|
|
|
+
|
|
|
|
title: Actions
|
|
|
|
|
|
|
|
<$action-setfield $tiddler="Subject" text="Theta"/>
|
|
|
|
+
|
|
|
|
title: ExpectedResult
|
|
|
|
|
|
|
|
<p>[
|
|
|
|
{
|
|
|
|
"title": "Epsilon",
|
|
|
|
"text": "Theta"
|
|
|
|
}
|
|
|
|
]</p>
|