📎 Add (temporary) visual regression tests for the Workspace

This commit is contained in:
Belén Albeza 2024-06-17 16:58:25 +02:00
parent 8a0aa9cd7f
commit 7f4f54e3fd
11 changed files with 914 additions and 7 deletions

View file

@ -169,6 +169,7 @@
:expanded (> size 276))
:id "right-sidebar-aside"
:data-testid "right-sidebar"
:data-size (str size)
:style #js {"--width" (if can-be-expanded? (dm/str size "px") 276)}}
(when can-be-expanded?

View file

@ -520,9 +520,11 @@
:name "listing-style"}
[:& radio-button {:icon i/view-as-list
:value "list"
:title (tr "workspace.assets.list-view")
:id "opt-list"}]
[:& radio-button {:icon i/flex-grid
:value "grid"
:title (tr "workspace.assets.grid-view")
:id "opt-grid"}]]])
(when (and components-v2 (not read-only?) local?)