Skip to content

Commit c9d84da

Browse files
committed
fix snapshot
1 parent 5fe1e4a commit c9d84da

File tree

1 file changed

+48
-16
lines changed

1 file changed

+48
-16
lines changed

frontend/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap

Lines changed: 48 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,14 @@ exports[`renderZodSchema > should render a form aggregate 1`] = `
3636
data-state="closed"
3737
type="button"
3838
>
39-
Select columns
39+
<span
40+
class="truncate flex-1 min-w-0"
41+
>
42+
Select columns
43+
</span>
4044
<svg
4145
aria-hidden="true"
42-
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50"
46+
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50 flex-shrink-0"
4347
fill="none"
4448
height="24"
4549
stroke="currentColor"
@@ -87,10 +91,14 @@ exports[`renderZodSchema > should render a form aggregate 1`] = `
8791
data-state="closed"
8892
type="button"
8993
>
90-
Select aggregations
94+
<span
95+
class="truncate flex-1 min-w-0"
96+
>
97+
Select aggregations
98+
</span>
9199
<svg
92100
aria-hidden="true"
93-
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50"
101+
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50 flex-shrink-0"
94102
fill="none"
95103
height="24"
96104
stroke="currentColor"
@@ -400,10 +408,14 @@ exports[`renderZodSchema > should render a form explode_columns 1`] = `
400408
data-state="closed"
401409
type="button"
402410
>
403-
Select columns
411+
<span
412+
class="truncate flex-1 min-w-0"
413+
>
414+
Select columns
415+
</span>
404416
<svg
405417
aria-hidden="true"
406-
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50"
418+
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50 flex-shrink-0"
407419
fill="none"
408420
height="24"
409421
stroke="currentColor"
@@ -591,10 +603,14 @@ exports[`renderZodSchema > should render a form group_by 1`] = `
591603
data-state="closed"
592604
type="button"
593605
>
594-
Select columns
606+
<span
607+
class="truncate flex-1 min-w-0"
608+
>
609+
Select columns
610+
</span>
595611
<svg
596612
aria-hidden="true"
597-
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50"
613+
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50 flex-shrink-0"
598614
fill="none"
599615
height="24"
600616
stroke="currentColor"
@@ -1007,10 +1023,14 @@ exports[`renderZodSchema > should render a form select_columns 1`] = `
10071023
data-state="closed"
10081024
type="button"
10091025
>
1010-
Select columns
1026+
<span
1027+
class="truncate flex-1 min-w-0"
1028+
>
1029+
Select columns
1030+
</span>
10111031
<svg
10121032
aria-hidden="true"
1013-
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50"
1033+
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50 flex-shrink-0"
10141034
fill="none"
10151035
height="24"
10161036
stroke="currentColor"
@@ -1286,10 +1306,14 @@ exports[`renderZodSchema > should render a form unique 1`] = `
12861306
data-state="closed"
12871307
type="button"
12881308
>
1289-
Select columns
1309+
<span
1310+
class="truncate flex-1 min-w-0"
1311+
>
1312+
Select columns
1313+
</span>
12901314
<svg
12911315
aria-hidden="true"
1292-
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50"
1316+
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50 flex-shrink-0"
12931317
fill="none"
12941318
height="24"
12951319
stroke="currentColor"
@@ -1441,10 +1465,14 @@ exports[`renders custom forms column_id_array 1`] = `
14411465
data-state="closed"
14421466
type="button"
14431467
>
1444-
Select columns
1468+
<span
1469+
class="truncate flex-1 min-w-0"
1470+
>
1471+
Select columns
1472+
</span>
14451473
<svg
14461474
aria-hidden="true"
1447-
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50"
1475+
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50 flex-shrink-0"
14481476
fill="none"
14491477
height="24"
14501478
stroke="currentColor"
@@ -1487,10 +1515,14 @@ exports[`renders custom forms column_id_dot_array 1`] = `
14871515
data-state="closed"
14881516
type="button"
14891517
>
1490-
--
1518+
<span
1519+
class="truncate flex-1 min-w-0"
1520+
>
1521+
--
1522+
</span>
14911523
<svg
14921524
aria-hidden="true"
1493-
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50"
1525+
class="lucide lucide-chevron-down ml-3 w-4 h-4 opacity-50 flex-shrink-0"
14941526
fill="none"
14951527
height="24"
14961528
stroke="currentColor"

0 commit comments

Comments
 (0)