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

@@ -13,7 +13,7 @@
</span>
<template #dropdown>
<el-dropdown-menu data-test-id="action-toggle-dropdown">
<el-dropdown-menu :data-test-id="testId">
<el-dropdown-item
v-for="action in actions"
:key="action.value"
@@ -85,6 +85,10 @@ export default Vue.extend({
default: 'default',
validator: (value: string): boolean => ['default', 'dark'].includes(value),
},
testId: {
type: String,
required: false,
},
},
methods: {
onCommand(value: string) {