Skip to content

Commit

Permalink
test(ui): add data-test-id property to execute button on dialog (#4189
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MilosPaunovic authored Jul 1, 2024
1 parent cedc2df commit 2f8d8e2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ui/src/components/flows/FlowRun.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,16 @@
</div>
<div class="right-align">
<el-form-item class="submit">
<el-button :icon="Flash" class="flow-run-trigger-button" :class="{'onboarding-glow': guidedProperties.tourStarted}" @click="onSubmit($refs.form)" type="primary" native-type="submit" :disabled="flow.disabled || haveBadLabels">
<el-button
data-test-id="execute-dialog-button"
:icon="Flash"
class="flow-run-trigger-button"
:class="{'onboarding-glow': guidedProperties.tourStarted}"
@click="onSubmit($refs.form)"
type="primary"
native-type="submit"
:disabled="flow.disabled || haveBadLabels"
>
{{ $t('launch execution') }}
</el-button>
<el-text v-if="haveBadLabels" type="danger" size="small">
Expand Down

0 comments on commit 2f8d8e2

Please sign in to comment.