mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 00:46:11 +02:00
✨ Refactor data-test attribute
This commit is contained in:
parent
4d0bfb1003
commit
a59f31ebe5
31 changed files with 118 additions and 128 deletions
|
@ -51,7 +51,7 @@
|
|||
[:h1 (tr "dashboard.projects-title")]]
|
||||
[:button {:class (stl/css :btn-secondary :btn-small)
|
||||
:on-click on-click
|
||||
:data-test "new-project-button"}
|
||||
:data-testid "new-project-button"}
|
||||
(tr "dashboard.new-project")]]))
|
||||
|
||||
(mf/defc team-hero
|
||||
|
@ -251,7 +251,7 @@
|
|||
:on-click on-create-click
|
||||
:title (tr "dashboard.new-file")
|
||||
:aria-label (tr "dashboard.new-file")
|
||||
:data-test "project-new-file"
|
||||
:data-testid "project-new-file"
|
||||
:on-key-down handle-create-click}
|
||||
add-icon]
|
||||
|
||||
|
@ -259,7 +259,7 @@
|
|||
:on-click on-menu-click
|
||||
:title (tr "dashboard.options")
|
||||
:aria-label (tr "dashboard.options")
|
||||
:data-test "project-options"
|
||||
:data-testid "project-options"
|
||||
:on-key-down handle-menu-click}
|
||||
menu-icon]]]]]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue