From 92934c6cddaf71cdf2907ac57f46c5fdd6fa2dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Mon, 18 Dec 2023 18:17:27 +0100 Subject: [PATCH] :wrench: Add data-test to ease selection in e2e tests --- .../main/ui/workspace/sidebar/options/rows/stroke_row.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/rows/stroke_row.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/rows/stroke_row.cljs index 08a30d7093..c5adb9a4fc 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/rows/stroke_row.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/rows/stroke_row.cljs @@ -221,14 +221,16 @@ :select-on-focus select-on-focus :on-blur on-blur}]] - [:div {:class (stl/css :select-wrapper)} + [:div {:class (stl/css :select-wrapper) + :data-test "stroke.alignment"} [:& select {:default-value stroke-alignment :options stroke-alignment-options :on-change on-alignment-change}]] (when-not disable-stroke-style - [:div {:class (stl/css :select-wrapper)} + [:div {:class (stl/css :select-wrapper) + :data-test "stroke.style"} [:& select {:default-value stroke-style :options stroke-style-options