refactor(editor): Add Workflows view e2e tests (#4573)

This commit is contained in:
OlegIvaniv
2022-11-11 09:07:14 +01:00
committed by GitHub
parent ed99aa2d59
commit 50f7538779
14 changed files with 287 additions and 11 deletions

View File

@@ -2,9 +2,10 @@
<n8n-card
:class="$style.cardLink"
@click="onClick"
data-test-id="workflow-card"
>
<template #header>
<n8n-heading tag="h2" bold class="ph-no-capture" :class="$style.cardHeading">
<n8n-heading tag="h2" bold class="ph-no-capture" :class="$style.cardHeading" data-test-id="workflow-card-name">
{{ data.name }}
</n8n-heading>
</template>
@@ -18,6 +19,7 @@
:truncateAt="3"
truncate
@click="onClickTag"
data-test-id="workflow-card-tags"
/>
</span>
</n8n-text>
@@ -40,12 +42,14 @@
:workflow-active="data.active"
:workflow-id="data.id"
ref="activator"
data-test-id="workflow-card-activator"
/>
<n8n-action-toggle
:actions="actions"
theme="dark"
@action="onAction"
data-test-id="workflow-card-actions"
/>
</div>
</template>