All forms as of today are exercised by "smoke" test and this commit

This commit is contained in:
2020-10-20 16:28:46 +00:00
parent bb33521216
commit 83891eb3ac
8 changed files with 45 additions and 4 deletions

View File

@@ -18,6 +18,7 @@
show-size
:label="$ay.t('SmallLogo')"
:rules="rules"
:data-cy="!!$ay.dev ? 'uploadSmall' : false"
></v-file-input>
<v-btn color="primary" text @click="remove('small')">{{
$ay.t("Delete")

View File

@@ -17,6 +17,7 @@
group
@change="onViewChange"
mandatory
:data-cy="!!$ay.dev ? 'viewChange' : false"
>
<v-btn value="properties">
{{ $ay.t("ReportEditorProperties") }}

View File

@@ -13,6 +13,7 @@
:sort-by="['name']"
show-select
:header-props="{ sortByText: $ay.t('Sort') }"
:data-cy="!!$ay.dev ? 'custUsersTable' : false"
>
<template v-slot:[`item.active`]="{ item }">
<v-simple-checkbox v-model="item.active" disabled></v-simple-checkbox>

View File

@@ -3,12 +3,17 @@
<v-row>
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
<v-col rows="12">
<div class="text-center text-h4" v-if="obj.length == 0">
<div
class="text-center text-h4"
v-if="obj.length == 0"
:data-cy="!!$ay.dev ? 'notifications' : false"
>
<span>{{ $ay.t("NoData") }}</span>
</div>
<v-timeline
:dense="$vuetify.breakpoint.smAndDown"
v-if="obj.length > 0"
:data-cy="!!$ay.dev ? 'notifications' : false"
>
<v-timeline-item
v-for="i in obj"

View File

@@ -14,6 +14,7 @@
:label="$ay.t('UserList')"
ref="userPickList"
@input="checkSave()"
:data-cy="!!$ay.dev ? 'pickListSelectedUserId' : false"
></gz-pick-list> </v-col
><v-col cols="1">
<v-btn @click="addSelected()">

View File

@@ -14,6 +14,7 @@
:disable-filtering="true"
hide-default-footer
:header-props="{ sortByText: $ay.t('Sort') }"
:data-cy="!!$ay.dev ? 'notifyQueueTable' : false"
>
<template v-slot:[`item.actions`]="{ item }">
<v-icon small class="mr-2" @click="deleteItem(item)">

View File

@@ -2,7 +2,7 @@
<v-row v-if="this.formState.ready" align="start" justify="center">
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
<v-col cols="12" md="7">
<v-card>
<v-card :data-cy="!!$ay.dev ? 'configCard' : false">
<v-list two-line>
<v-list-item>
<v-list-item-content>