@@ -390,6 +390,7 @@ defineExpose({
390
390
391
391
<g clip-path =" url(#vueUiPill)" >
392
392
<rect
393
+ data-cy =" pill-underlayer"
393
394
:x =" drawingArea.left"
394
395
:y =" drawingArea.top"
395
396
:height =" drawingArea.height - usablePadding.top - usablePadding.bottom"
@@ -398,6 +399,7 @@ defineExpose({
398
399
/>
399
400
<g v-for =" (graduation, i) in graduations" :key =" `graduation_${i}`" >
400
401
<rect
402
+ data-cy =" pill-graduation-rect"
401
403
:x =" graduation.x"
402
404
:y =" graduation.y"
403
405
:height =" graduation.height"
@@ -407,7 +409,8 @@ defineExpose({
407
409
/>
408
410
409
411
<!-- GRADUATIONS LEFT -->
410
- <line
412
+ <line
413
+ data-cy =" graduation-left"
411
414
v-if =" FINAL_CONFIG.style.chart.graduations.show && ['both', 'left'].includes(FINAL_CONFIG.style.chart.graduations.sides)"
412
415
:x1 =" graduation.x"
413
416
:x2 =" graduation.x + 10"
@@ -418,7 +421,8 @@ defineExpose({
418
421
stroke-linecap =" round"
419
422
/>
420
423
<template v-if =" FINAL_CONFIG .style .chart .graduations .showIntermediate " >
421
- <line
424
+ <line
425
+ data-cy =" graduation-left-intermediary"
422
426
v-if =" FINAL_CONFIG.style.chart.graduations.show && ['both', 'left'].includes(FINAL_CONFIG.style.chart.graduations.sides)"
423
427
:x1 =" graduation.x"
424
428
:x2 =" graduation.x + 5"
@@ -429,6 +433,7 @@ defineExpose({
429
433
stroke-linecap =" round"
430
434
/>
431
435
<line
436
+ data-cy =" graduation-left-intermediary"
432
437
v-if =" FINAL_CONFIG.style.chart.graduations.show && ['both', 'left'].includes(FINAL_CONFIG.style.chart.graduations.sides)"
433
438
:x1 =" graduation.x"
434
439
:x2 =" graduation.x + 2.5"
@@ -438,7 +443,8 @@ defineExpose({
438
443
:stroke =" FINAL_CONFIG.style.chart.graduations.stroke"
439
444
stroke-linecap =" round"
440
445
/>
441
- <line
446
+ <line
447
+ data-cy =" graduation-left-intermediary"
442
448
v-if =" FINAL_CONFIG.style.chart.graduations.show && ['both', 'left'].includes(FINAL_CONFIG.style.chart.graduations.sides)"
443
449
:x1 =" graduation.x"
444
450
:x2 =" graduation.x + 2.5"
@@ -452,6 +458,7 @@ defineExpose({
452
458
453
459
<!-- GRADUATIONS RIGHT -->
454
460
<line
461
+ data-cy =" graduation-right"
455
462
v-if =" FINAL_CONFIG.style.chart.graduations.show && ['both', 'right'].includes(FINAL_CONFIG.style.chart.graduations.sides)"
456
463
:x1 =" drawingArea.right"
457
464
:x2 =" drawingArea.right - 10"
@@ -462,7 +469,8 @@ defineExpose({
462
469
stroke-linecap =" round"
463
470
/>
464
471
<template v-if =" FINAL_CONFIG .style .chart .graduations .showIntermediate " >
465
- <line
472
+ <line
473
+ data-cy =" graduation-right-intermediary"
466
474
v-if =" FINAL_CONFIG.style.chart.graduations.show && ['both', 'right'].includes(FINAL_CONFIG.style.chart.graduations.sides)"
467
475
:x1 =" drawingArea.right"
468
476
:x2 =" drawingArea.right - 5"
@@ -472,7 +480,8 @@ defineExpose({
472
480
:stroke =" FINAL_CONFIG.style.chart.graduations.stroke"
473
481
stroke-linecap =" round"
474
482
/>
475
- <line
483
+ <line
484
+ data-cy =" graduation-right-intermediary"
476
485
v-if =" FINAL_CONFIG.style.chart.graduations.show && ['both', 'right'].includes(FINAL_CONFIG.style.chart.graduations.sides)"
477
486
:x1 =" drawingArea.right"
478
487
:x2 =" drawingArea.right - 2.5"
@@ -482,7 +491,8 @@ defineExpose({
482
491
:stroke =" FINAL_CONFIG.style.chart.graduations.stroke"
483
492
stroke-linecap =" round"
484
493
/>
485
- <line
494
+ <line
495
+ data-cy =" graduation-right-intermediary"
486
496
v-if =" FINAL_CONFIG.style.chart.graduations.show && ['both', 'right'].includes(FINAL_CONFIG.style.chart.graduations.sides)"
487
497
:x1 =" drawingArea.right"
488
498
:x2 =" drawingArea.right - 2.5"
@@ -495,6 +505,7 @@ defineExpose({
495
505
</template >
496
506
</g >
497
507
<rect
508
+ data-cy =" temperature-rect"
498
509
:class =" {'vue-ui-thermometer-temperature': FINAL_CONFIG.style.chart.animation.use }"
499
510
:x =" drawingArea.left"
500
511
:y =" drawingArea.top"
@@ -504,7 +515,7 @@ defineExpose({
504
515
/>
505
516
</g >
506
517
<text
507
- data-cy =" thermometer-datalabel "
518
+ data-cy =" temperature-label "
508
519
:class =" {'vue-ui-thermometer-temperature-value': FINAL_CONFIG.style.chart.animation.use }"
509
520
:y =" temperature + drawingArea.top + (FINAL_CONFIG.style.chart.label.fontSize / 3)"
510
521
:x =" drawingArea.left - 10"
0 commit comments