mirror of
https://github.com/penpot/penpot.git
synced 2025-07-12 15:17:17 +02:00
Merge pull request #4799 from penpot/ladybenko-fix-visual-regression-tests
Fix broken visual regression test + refactor Dashboard POM
This commit is contained in:
commit
4437fc43e4
4 changed files with 48 additions and 57 deletions
|
@ -786,7 +786,6 @@
|
|||
[:li {:class (stl/css-case :current drafts?
|
||||
:sidebar-nav-item true)}
|
||||
[:& link {:action go-drafts
|
||||
:data-testid "drafts-link-sidebar"
|
||||
:class (stl/css :sidebar-link)
|
||||
:keyboard-action go-drafts-with-key}
|
||||
[:span {:class (stl/css :element-title)} (tr "labels.drafts")]]]
|
||||
|
@ -1052,7 +1051,7 @@
|
|||
[props]
|
||||
(let [team (obj/get props "team")
|
||||
profile (obj/get props "profile")]
|
||||
[:nav {:class (stl/css :dashboard-sidebar)}
|
||||
[:nav {:class (stl/css :dashboard-sidebar) :data-testid "dashboard-sidebar"}
|
||||
[:> sidebar-content props]
|
||||
[:& profile-section
|
||||
{:profile profile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue