Merge pull request #5332 from penpot/palba-add-integration-test-viewer-role

 Add integration tests to viewer role
This commit is contained in:
Belén Albeza 2024-11-20 09:24:17 +01:00 committed by GitHub
commit f8e0283186
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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