LCOV - code coverage report
Current view: top level - src/components/topbar - ActionBarButtons.vue Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 4 4
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : <template>
       2         2092 :   <div
       3              :     data-testid="action-bar-buttons"
       4              :     class="flex h-full shrink-0 items-center gap-1 empty:hidden"
       5              :   >
       6            5 :     <Button
       7              :       v-for="(button, index) in actionBarButtonStore.buttons"
       8              :       :key="index"
       9              :       :tooltip="button.tooltip"
      10              :       tooltip-side="bottom"
      11              :       :aria-label="button.tooltip || button.label"
      12              :       :class="button.class"
      13              :       variant="muted-textonly"
      14              :       size="sm"
      15              :       class="h-7 rounded-full"
      16              :       @click="button.onClick"
      17              :     >
      18              :       <i :class="button.icon" />
      19              :       <span v-if="!isMobile && button.label">{{ button.label }}</span>
      20              :     </Button>
      21              :   </div>
      22              : </template>
      23              : 
      24              : <script lang="ts" setup>
      25              : import { breakpointsTailwind, useBreakpoints } from '@vueuse/core'
      26              : 
      27              : import Button from '@comfyorg/design-system/button/Button'
      28              : import { useActionBarButtonStore } from '@/stores/actionBarButtonStore'
      29              : 
      30         2009 : const actionBarButtonStore = useActionBarButtonStore()
      31              : 
      32              : const breakpoints = useBreakpoints(breakpointsTailwind)
      33         2009 : const isMobile = breakpoints.smaller('sm')
      34              : </script>
        

Generated by: LCOV version 2.0-1