test: Add e2e workflow tags (no-changelog) (#5411)

* 🧪 Add workflow tags tests

*  Create `openTagManagerModal`

*  Add wait to prevent detached DOM element

*  Add wait to mirror other tests
This commit is contained in:
Iván Ovejero
2023-02-09 10:04:12 +01:00
committed by GitHub
parent a07de049a2
commit e0c4c25227
5 changed files with 133 additions and 46 deletions

View File

@@ -90,12 +90,14 @@
:title="$locale.baseText('tagsTable.editTag')"
@click.stop="enableUpdate(scope.row)"
icon="pen"
data-test-id="edit-tag-button"
/>
<n8n-icon-button
v-if="scope.row.canDelete"
:title="$locale.baseText('tagsTable.deleteTag')"
@click.stop="enableDelete(scope.row)"
icon="trash"
data-test-id="delete-tag-button"
/>
</div>
</transition>

View File

@@ -17,6 +17,7 @@
@cancelOperation="cancelOperation"
@applyOperation="applyOperation"
ref="tagsTable"
data-test-id="tags-table"
/>
</div>
</template>