test: Setup e2e tests for workflow actions (#4724)

*  Adding first batch of workflow actions tests
*  Adding loading handling logic and new workflow actions tests
*  Added workflow activation and rename tests
* 👌 Addressing review feedback
* 🔥 Removing leftover commented code
This commit is contained in:
Milorad FIlipović
2022-11-25 15:32:09 +01:00
committed by GitHub
parent 1579d05fd1
commit cb3bfc32f7
8 changed files with 116 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
<template>
<span :title="name">
<span :title="name" :data-test-id="testId">
<slot :shortenedName="shortenedName"></slot>
</span>
</template>
@@ -13,7 +13,7 @@ const WORKFLOW_NAME_END_COUNT_TO_KEEP = 4;
export default Vue.extend({
name: "ShortenName",
props: ["name", "limit"],
props: ["name", "limit", "testId"],
computed: {
shortenedName(): string {
return shorten(this.name, this.limit || DEFAULT_WORKFLOW_NAME_LIMIT, WORKFLOW_NAME_END_COUNT_TO_KEEP);