Add integration tests to viewer role

This commit is contained in:
Pablo Alba 2024-11-15 17:47:28 +01:00
parent df416af19b
commit 3a7d187110
10 changed files with 236 additions and 2 deletions

View file

@ -27,7 +27,7 @@
[{:keys [class title subtitle type children] :rest props}]
(let [class (dm/str class " " (stl/css :empty-placeholder))
props (mf/spread-props props {:class class})
props (mf/spread-props props {:class class :data-testid "empty-placeholder"})
type (or type 1)
decoration-type (dm/str "empty-placeholder-" (str type))]
[:> "div" props