Add basic view-widget tests (#8632)

This commit is contained in:
Mario Pietsch
2024-09-25 14:02:10 +02:00
committed by GitHub
parent 006157ee97
commit bb75560922
9 changed files with 188 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
title: Widgets/ViewWidget/Parameter/format-data-template
description: Test view-widget parameters format, date and template
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: input
modified: 20240920162221000
Some text
+
title: Output
<!-- This can not be tested atm, since test-server timezone can be different
<$view tiddler="input" field="modified" format="date"/>
-->
<$view tiddler="input" field="modified" format="date" template="[UTC]DDth MMM YYYY at hh12:0mmam"/>
+
title: ExpectedResult
<p>20th September 2024 at 4:22pm</p>