From c2f33440d1a2bf28f337eac137b7d771fd7b7cb7 Mon Sep 17 00:00:00 2001 From: peterpacket Date: Wed, 18 May 2022 21:05:36 +0200 Subject: [PATCH] Add data-selector for time lists This change should make it easier during testing with e2e tools like cypress to select the right time. --- src/time/list-columns.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/time/list-columns.vue b/src/time/list-columns.vue index c91634ff..a7831b49 100644 --- a/src/time/list-columns.vue +++ b/src/time/list-columns.vue @@ -11,6 +11,7 @@ v-for="(item, j) in col.list" :key="item.value" :data-index="j" + :data-content="item.text" :class="[`${prefixClass}-time-item`, getClasses(item.value, col.type)]" > {{ item.text }}