Refactor data-test attribute

This commit is contained in:
Alejandro Alonso 2024-06-18 10:24:05 +02:00
parent 4d0bfb1003
commit a59f31ebe5
31 changed files with 118 additions and 128 deletions

View file

@ -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]]]]]