Browse Source

test: cy-markers for expand form

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3149/head
Raju Udava 2 years ago
parent
commit
7dbbdcb34c
  1. 2
      packages/nc-gui-v2/components/smartsheet/Grid.vue
  2. 2
      packages/nc-gui-v2/components/smartsheet/expanded-form/index.vue

2
packages/nc-gui-v2/components/smartsheet/Grid.vue

@ -369,7 +369,7 @@ const expandForm = (row: Row, state: Record<string, any>) => {
</span>
<div v-else class="cursor-pointer flex items-center border-1 active:ring rounded p-1 hover:bg-primary/10">
<MdiArrowExpand
class="select-none transform hover:(text-pink-500 scale-120)"
class="select-none transform hover:(text-pink-500 scale-120) nc-row-expand"
@click="expandForm(row, state)"
/>
</div>

2
packages/nc-gui-v2/components/smartsheet/expanded-form/index.vue

@ -86,7 +86,7 @@ const isExpanded = useVModel(props, 'modelValue', emits)
<div class="flex h-full nc-form-wrapper items-stretch min-h-[70vh]">
<div class="flex-grow overflow-auto scrollbar-thin-primary">
<div class="w-[500px] mx-auto">
<div v-for="col in fields" :key="col.title" class="mt-2 py-2">
<div v-for="col in fields" :key="col.title" class="mt-2 py-2" :class="`nc-expand-col-${col.title}`">
<SmartsheetHeaderVirtualCell v-if="isVirtualCol(col)" :column="col" />
<SmartsheetHeaderCell v-else :column="col" />

Loading…
Cancel
Save