This commit is contained in:
2020-10-20 17:38:16 +00:00
parent 83891eb3ac
commit 67e908f2cc
51 changed files with 89 additions and 114 deletions

View File

@@ -35,7 +35,7 @@
:prepend-icon="item.icon" :prepend-icon="item.icon"
:value="false" :value="false"
:key="item.key" :key="item.key"
:data-cy="!!$ay.dev ? item.testid : false" :data-cy="item.testid"
> >
<template v-slot:activator> <template v-slot:activator>
<!--group activator --> <!--group activator -->
@@ -87,7 +87,7 @@
<div class="pl-3" :key="subitem.key"> <div class="pl-3" :key="subitem.key">
<v-list-item <v-list-item
:to="subitem.route" :to="subitem.route"
:data-cy="!!$ay.dev ? 'nav' + subitem.route : false" :data-cy="'nav' + subitem.route"
> >
<v-list-item-action> <v-list-item-action>
<v-icon <v-icon
@@ -112,10 +112,7 @@
<!-- TOP LEVEL ACTION --> <!-- TOP LEVEL ACTION -->
<template v-else> <template v-else>
<div :key="item.key"> <div :key="item.key">
<v-list-item <v-list-item :to="item.route" :data-cy="item.testid">
:to="item.route"
:data-cy="!!$ay.dev ? item.testid : false"
>
<v-list-item-action v-if="item.icon"> <v-list-item-action v-if="item.icon">
<v-icon :color="item.color ? item.color : ''">{{ <v-icon :color="item.color ? item.color : ''">{{
item.icon item.icon
@@ -133,12 +130,7 @@
</v-list> </v-list>
<template v-slot:append> <template v-slot:append>
<div> <div>
<v-btn <v-btn x-large block to="/login" data-cy="logout">
x-large
block
to="/login"
:data-cy="!!$ay.dev ? 'logout' : false"
>
<v-icon large left>$ayiSignOut</v-icon> <v-icon large left>$ayiSignOut</v-icon>
<span class="ml-2 text-h6">{{ $ay.t("Logout") }}</span></v-btn <span class="ml-2 text-h6">{{ $ay.t("Logout") }}</span></v-btn
> >
@@ -154,7 +146,7 @@
> >
<v-app-bar-nav-icon <v-app-bar-nav-icon
@click.stop="drawer = !drawer" @click.stop="drawer = !drawer"
:data-cy="!!$ay.dev ? 'navicon' : false" data-cy="navicon"
></v-app-bar-nav-icon> ></v-app-bar-nav-icon>
<v-toolbar-title style="width: 300px" class="ml-0 pl-4"> <v-toolbar-title style="width: 300px" class="ml-0 pl-4">
<v-icon>{{ appBar.icon }}</v-icon <v-icon>{{ appBar.icon }}</v-icon
@@ -162,12 +154,7 @@
<span v-if="appBar.title">{{ $ay.t(appBar.title) }}</span> <span v-if="appBar.title">{{ $ay.t(appBar.title) }}</span>
</v-toolbar-title> </v-toolbar-title>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn <v-btn text icon to="/home-notifications" data-cy="notification">
text
icon
to="/home-notifications"
:data-cy="!!$ay.dev ? 'notification' : false"
>
<v-badge color="deep-purple" :value="newNotificationCount() > 0"> <v-badge color="deep-purple" :value="newNotificationCount() > 0">
<template v-slot:badge> <template v-slot:badge>
{{ newNotificationCount() }} {{ newNotificationCount() }}
@@ -185,7 +172,7 @@
v-if="item.surface" v-if="item.surface"
:disabled="item.disabled" :disabled="item.disabled"
@click="clickMenuItem(item)" @click="clickMenuItem(item)"
:data-cy="!!$ay.dev ? item.key : false" :data-cy="item.key"
> >
<v-icon :color="item.color ? item.color : ''"> <v-icon :color="item.color ? item.color : ''">
{{ item.icon }} {{ item.icon }}
@@ -196,12 +183,7 @@
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-menu bottom float-left> <v-menu bottom float-left>
<template v-slot:activator="{ on }"> <template v-slot:activator="{ on }">
<v-btn <v-btn text icon v-on="on" data-cy="contextmenu">
text
icon
v-on="on"
:data-cy="!!$ay.dev ? 'contextmenu' : false"
>
<v-icon>$ayiEllipsisV</v-icon> <v-icon>$ayiEllipsisV</v-icon>
</v-btn> </v-btn>
</template> </template>
@@ -223,7 +205,7 @@
:target="item.target" :target="item.target"
@click="clickMenuItem(item)" @click="clickMenuItem(item)"
v-bind:class="{ 'hidden-sm-and-up': item.surface }" v-bind:class="{ 'hidden-sm-and-up': item.surface }"
:data-cy="!!$ay.dev ? item.key : false" :data-cy="item.key"
> >
<v-list-item-action> <v-list-item-action>
<v-icon <v-icon

View File

@@ -23,7 +23,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t(item.fld)" :label="$ay.t(item.fld)"
:ref="item.fld" :ref="item.fld"
:data-cy="!!$ay.dev ? item.fld : false" :data-cy="item.fld"
:error-messages="form().serverErrors(parentVM, item.fld)" :error-messages="form().serverErrors(parentVM, item.fld)"
:rules="[ :rules="[
form().customFieldsCheck( form().customFieldsCheck(
@@ -44,7 +44,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t(item.fld)" :label="$ay.t(item.fld)"
:ref="item.fld" :ref="item.fld"
:data-cy="!!$ay.dev ? item.fld : false" :data-cy="item.fld"
:error-messages="form().serverErrors(parentVM, item.fld)" :error-messages="form().serverErrors(parentVM, item.fld)"
:rules="[ :rules="[
form().customFieldsCheck( form().customFieldsCheck(
@@ -64,7 +64,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t(item.fld)" :label="$ay.t(item.fld)"
:ref="item.fld" :ref="item.fld"
:data-cy="!!$ay.dev ? item.fld : false" :data-cy="item.fld"
:error-messages="form().serverErrors(parentVM, item.fld)" :error-messages="form().serverErrors(parentVM, item.fld)"
:rules="[ :rules="[
form().customFieldsCheck( form().customFieldsCheck(
@@ -84,7 +84,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t(item.fld)" :label="$ay.t(item.fld)"
:ref="item.fld" :ref="item.fld"
:data-cy="!!$ay.dev ? item.fld : false" :data-cy="item.fld"
:error-messages="form().serverErrors(parentVM, item.fld)" :error-messages="form().serverErrors(parentVM, item.fld)"
:rules="[ :rules="[
form().customFieldsCheck( form().customFieldsCheck(
@@ -106,7 +106,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t(item.fld)" :label="$ay.t(item.fld)"
:ref="item.fld" :ref="item.fld"
:data-cy="!!$ay.dev ? item.fld : false" :data-cy="item.fld"
:error-messages="form().serverErrors(parentVM, item.fld)" :error-messages="form().serverErrors(parentVM, item.fld)"
:rules="[ :rules="[
form().customFieldsCheck( form().customFieldsCheck(
@@ -130,7 +130,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t(item.fld)" :label="$ay.t(item.fld)"
:ref="item.fld" :ref="item.fld"
:data-cy="!!$ay.dev ? item.fld : false" :data-cy="item.fld"
:error-messages="form().serverErrors(parentVM, item.fld)" :error-messages="form().serverErrors(parentVM, item.fld)"
:rules="[ :rules="[
form().customFieldsCheck( form().customFieldsCheck(
@@ -150,7 +150,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t(item.fld)" :label="$ay.t(item.fld)"
:ref="item.fld" :ref="item.fld"
:data-cy="!!$ay.dev ? item.fld : false" :data-cy="item.fld"
:error-messages="form().serverErrors(parentVM, item.fld)" :error-messages="form().serverErrors(parentVM, item.fld)"
:rules="[ :rules="[
form().customFieldsCheck( form().customFieldsCheck(
@@ -170,7 +170,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t(item.fld)" :label="$ay.t(item.fld)"
:ref="item.fld" :ref="item.fld"
:data-cy="!!$ay.dev ? item.fld : false" :data-cy="item.fld"
:error-messages="form().serverErrors(parentVM, item.fld)" :error-messages="form().serverErrors(parentVM, item.fld)"
:rules="[ :rules="[
form().customFieldsCheck( form().customFieldsCheck(

View File

@@ -11,7 +11,7 @@
:rules="rules" :rules="rules"
type="date" type="date"
:error-messages="allErrors()" :error-messages="allErrors()"
:data-cy="!!$ay.dev ? 'dateinput:' + testId : false" :data-cy="'dateinput:' + testId"
></v-text-field> ></v-text-field>
</template> </template>
<template v-else> <template v-else>

View File

@@ -12,7 +12,7 @@
:rules="rules" :rules="rules"
type="date" type="date"
:error-messages="allErrors()" :error-messages="allErrors()"
:data-cy="!!$ay.dev ? 'dateinput:' + testId : false" :data-cy="'dateinput:' + testId"
></v-text-field> ></v-text-field>
</v-col> </v-col>
<v-col cols="6"> <v-col cols="6">
@@ -23,7 +23,7 @@
:readonly="readonly" :readonly="readonly"
:disabled="disabled" :disabled="disabled"
type="time" type="time"
:data-cy="!!$ay.dev ? 'timeinput:' + testId : false" :data-cy="'timeinput:' + testId"
></v-text-field> ></v-text-field>
</v-col> </v-col>
</template> </template>

View File

@@ -18,14 +18,14 @@
v-bind:rules="rules" v-bind:rules="rules"
readonly readonly
:error="!!error" :error="!!error"
:data-cy="!!$ay.dev ? 'dtfpick:' + testId : false" :data-cy="'dtfpick:' + testId"
></v-text-field> ></v-text-field>
</template> </template>
<v-date-picker <v-date-picker
v-model="dateOnly" v-model="dateOnly"
@input="dlgdate = false" @input="dlgdate = false"
:locale="defaultLocale" :locale="defaultLocale"
:data-cy="!!$ay.dev ? 'dpick:' + testId : false" :data-cy="'dpick:' + testId"
> >
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgdate = false">{{ <v-btn text color="primary" @click="dlgdate = false">{{
@@ -50,7 +50,7 @@
@click:prepend="dlgtime = true" @click:prepend="dlgtime = true"
readonly readonly
:error="!!error" :error="!!error"
:data-cy="!!$ay.dev ? 'ttfpick:' + testId : false" :data-cy="'ttfpick:' + testId"
></v-text-field> ></v-text-field>
</template> </template>
<v-time-picker <v-time-picker
@@ -58,7 +58,7 @@
ampm-in-title ampm-in-title
:format="hour12 ? 'ampm' : '24hr'" :format="hour12 ? 'ampm' : '24hr'"
v-model="timeOnly" v-model="timeOnly"
:data-cy="!!$ay.dev ? 'tpick:' + testId : false" :data-cy="'tpick:' + testId"
> >
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgtime = false">{{ <v-btn text color="primary" @click="dlgtime = false">{{

View File

@@ -15,7 +15,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t('TimeSpanDays')" :label="$ay.t('TimeSpanDays')"
type="number" type="number"
:data-cy="!!$ay.dev ? 'durationdays:' + testId : false" :data-cy="'durationdays:' + testId"
></v-text-field> ></v-text-field>
</v-col> </v-col>
<v-col cols="3"> <v-col cols="3">
@@ -27,7 +27,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t('TimeSpanHours')" :label="$ay.t('TimeSpanHours')"
type="number" type="number"
:data-cy="!!$ay.dev ? 'durationhours:' + testId : false" :data-cy="'durationhours:' + testId"
></v-text-field> ></v-text-field>
</v-col> </v-col>
<v-col cols="3"> <v-col cols="3">
@@ -39,7 +39,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t('TimeSpanMinutes')" :label="$ay.t('TimeSpanMinutes')"
type="number" type="number"
:data-cy="!!$ay.dev ? 'durationminutes:' + testId : false" :data-cy="'durationminutes:' + testId"
></v-text-field> ></v-text-field>
</v-col> </v-col>
<v-col cols="3"> <v-col cols="3">
@@ -52,7 +52,7 @@
:disabled="disabled" :disabled="disabled"
:label="$ay.t('TimeSpanSeconds')" :label="$ay.t('TimeSpanSeconds')"
type="number" type="number"
:data-cy="!!$ay.dev ? 'durationseconds:' + testId : false" :data-cy="'durationseconds:' + testId"
></v-text-field> ></v-text-field>
</v-col> </v-col>
</v-row> </v-row>

View File

@@ -2,7 +2,7 @@
<v-col v-if="errorBoxMessage" cols="12" mt-1 mb-2> <v-col v-if="errorBoxMessage" cols="12" mt-1 mb-2>
<v-alert <v-alert
ref="errorbox" ref="errorbox"
:data-cy="!!$ay.dev ? 'errorbox' : false" data-cy="errorbox"
v-show="errorBoxMessage" v-show="errorBoxMessage"
color="error" color="error"
icon="$ayiExclamationCircle" icon="$ayiExclamationCircle"

View File

@@ -4,7 +4,7 @@
hide-overlay hide-overlay
v-model="isVisible" v-model="isVisible"
@keydown.esc="cancel" @keydown.esc="cancel"
:data-cy="!!$ay.dev ? 'extensions' : false" data-cy="extensions"
> >
<v-card> <v-card>
<v-card-title>{{ $ay.t("Extensions") }}</v-card-title> <v-card-title>{{ $ay.t("Extensions") }}</v-card-title>

View File

@@ -10,17 +10,17 @@
item-value="id" item-value="id"
:label="$ay.t('DataListView')" :label="$ay.t('DataListView')"
@input="listViewChanged" @input="listViewChanged"
:data-cy="!!$ay.dev ? 'selectlistview' : false" data-cy="selectlistview"
> >
</v-select> </v-select>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<div> <div>
<v-btn @click="refresh"> <v-btn @click="refresh">
<v-icon :data-cy="!!$ay.dev ? 'refresh' : false">$ayiSync</v-icon> <v-icon data-cy="refresh">$ayiSync</v-icon>
</v-btn> </v-btn>
<v-btn class="ml-12" @click="editListView"> <v-btn class="ml-12" @click="editListView">
<v-icon :data-cy="!!$ay.dev ? 'filter' : false">$ayiFilter</v-icon> <v-icon data-cy="filter">$ayiFilter</v-icon>
</v-btn> </v-btn>
</div> </div>
</v-card-title> </v-card-title>
@@ -52,7 +52,7 @@
:loading-text="$ay.t('Loading')" :loading-text="$ay.t('Loading')"
:no-data-text="$ay.t('NoData')" :no-data-text="$ay.t('NoData')"
class="elevation-1" class="elevation-1"
:data-cy="!!$ay.dev ? 'datatable-wide' : false" data-cy="datatable"
> >
<template v-slot:body="{ items }"> <template v-slot:body="{ items }">
<tbody> <tbody>
@@ -190,7 +190,7 @@
}" }"
:loading-text="$ay.t('Loading')" :loading-text="$ay.t('Loading')"
class="elevation-1" class="elevation-1"
:data-cy="!!$ay.dev ? 'datatable-mobile' : false" data-cy="datatable"
> >
<template v-slot:header="props"> <template v-slot:header="props">
<!-- Mimic the full width data table select all toggle :no-data-text="$ay.t('NoData')"--> <!-- Mimic the full width data table select all toggle :no-data-text="$ay.t('NoData')"-->

View File

@@ -6,7 +6,7 @@
:max-width="maxWidth" :max-width="maxWidth"
:width="width" :width="width"
@keydown.esc="cancel" @keydown.esc="cancel"
:data-cy="!!$ay.dev ? 'gzconfirm' : false" data-cy="gzconfirm"
> >
<v-card elevation="24"> <v-card elevation="24">
<v-card-title class="text-h6 text-sm-h5 grey lighten-4"> <v-card-title class="text-h6 text-sm-h5 grey lighten-4">
@@ -34,7 +34,7 @@
<v-card-actions> <v-card-actions>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn <v-btn
:data-cy="!!$ay.dev ? 'gzconfirm:morebutton' : false" data-cy="gzconfirm:morebutton"
text text
v-if="options.helpUrl" v-if="options.helpUrl"
@click="helpClick()" @click="helpClick()"
@@ -46,14 +46,14 @@
color="primary" color="primary"
text text
@click.native="cancel" @click.native="cancel"
:data-cy="!!$ay.dev ? 'gzconfirm:nobutton' : false" data-cy="gzconfirm:nobutton"
>{{ options.noButtonText }}</v-btn >{{ options.noButtonText }}</v-btn
> >
<v-btn <v-btn
color="primary" color="primary"
text text
@click.native="agree" @click.native="agree"
:data-cy="!!$ay.dev ? 'gzconfirm:yesbutton' : false" data-cy="gzconfirm:yesbutton"
>{{ options.yesButtonText }}</v-btn >{{ options.yesButtonText }}</v-btn
> >
</v-card-actions> </v-card-actions>

View File

@@ -1,7 +1,7 @@
<template> <template>
<!-- <v-scale-transition> --> <!-- <v-scale-transition> -->
<v-snackbar <v-snackbar
:data-cy="!!$ay.dev ? 'gznotify' : false" data-cy="gznotify"
:value="isVisible" :value="isVisible"
:color="currentNotification.type" :color="currentNotification.type"
multi-line multi-line
@@ -11,7 +11,7 @@
</v-alert> </v-alert>
<v-btn <v-btn
:data-cy="!!$ay.dev ? 'gznotify:morebutton' : false" data-cy="gznotify:morebutton"
text text
v-if="currentNotification.helpUrl" v-if="currentNotification.helpUrl"
@click="helpClick()" @click="helpClick()"

View File

@@ -9,7 +9,7 @@
max-width="600px" max-width="600px"
v-model="isVisible" v-model="isVisible"
@keydown.esc="cancel" @keydown.esc="cancel"
:data-cy="!!$ay.dev ? 'reportselector' : false" data-cy="reportselector"
> >
<v-card elevation="24"> <v-card elevation="24">
<v-card-title class="headline lighten-2" primary-title> <v-card-title class="headline lighten-2" primary-title>
@@ -41,7 +41,7 @@
color="primary" color="primary"
text text
@click.native="newReport" @click.native="newReport"
:data-cy="!!$ay.dev ? 'reportselector:ok' : false" data-cy="reportselector:ok"
>{{ $ay.t("New") }}</v-btn >{{ $ay.t("New") }}</v-btn
> >
<v-spacer></v-spacer> <v-spacer></v-spacer>
@@ -49,7 +49,7 @@
color="primary" color="primary"
text text
@click.native="cancel" @click.native="cancel"
:data-cy="!!$ay.dev ? 'reportselector:cancel' : false" data-cy="reportselector:cancel"
>{{ $ay.t("Cancel") }}</v-btn >{{ $ay.t("Cancel") }}</v-btn
> >
</v-card-actions> </v-card-actions>

View File

@@ -13,7 +13,7 @@
:label="label" :label="label"
:rules="rules" :rules="rules"
:error-messages="allErrors()" :error-messages="allErrors()"
:data-cy="!!$ay.dev ? 'roleinput:' + testId : false" :data-cy="'roleinput:' + testId"
></v-select> ></v-select>
</template> </template>
<script> <script>

View File

@@ -11,7 +11,7 @@
:rules="rules" :rules="rules"
:error-messages="allErrors()" :error-messages="allErrors()"
type="time" type="time"
:data-cy="!!$ay.dev ? 'timeinput:' + testId : false" :data-cy="'timeinput:' + testId"
></v-text-field> ></v-text-field>
</template> </template>
<template v-else> <template v-else>

View File

@@ -216,7 +216,7 @@ Vue.directive("focus", {
// INSTANTIATE // INSTANTIATE
// //
Vue.prototype.$ay = { Vue.prototype.$ay = {
//development mode, this enables data-cy tags for testing, development level error messages etc //development mode, development level error messages etc
dev: DEV_MODE, dev: DEV_MODE,
t: function(tKey) { t: function(tKey) {
return translation.get(tKey); return translation.get(tKey);

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -13,7 +13,7 @@
:singleSelect="false" :singleSelect="false"
:reload="reload" :reload="reload"
v-on:selection-change="handleSelected" v-on:selection-change="handleSelected"
:data-cy="!!$ay.dev ? 'attachTable' : false" data-cy="attachTable"
> >
</gz-data-table> </gz-data-table>

View File

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

View File

@@ -19,7 +19,7 @@
item-value="id" item-value="id"
:label="$ay.t('PickListTemplates')" :label="$ay.t('PickListTemplates')"
@input="templateSelected" @input="templateSelected"
:data-cy="!!$ay.dev ? 'selectTemplate' : false" data-cy="selectTemplate"
:disabled="formState.dirty" :disabled="formState.dirty"
> >
</v-select> </v-select>
@@ -52,7 +52,7 @@
:ref="item.key" :ref="item.key"
:disabled="item.required" :disabled="item.required"
@change="includeChanged(item)" @change="includeChanged(item)"
:data-cy="!!$ay.dev ? item.key + 'Include' : false" :data-cy="item.key + 'Include'"
></v-checkbox> ></v-checkbox>
<!-- RE-ORDER CONTROL --> <!-- RE-ORDER CONTROL -->
<div class="d-flex justify-space-between"> <div class="d-flex justify-space-between">

View File

@@ -4,17 +4,13 @@
<v-card class="mx-auto" v-if="formState.ready"> <v-card class="mx-auto" v-if="formState.ready">
<v-list subheader> <v-list subheader>
<v-subheader>{{ $ay.t("UserInterfaceSettings") }}</v-subheader> <v-subheader>{{ $ay.t("UserInterfaceSettings") }}</v-subheader>
<v-list-item <v-list-item link to="adm-global-logo" data-cy="logo">
link
to="adm-global-logo"
:data-cy="!!$ay.dev ? 'logo' : false"
>
<v-list-item-title>{{ $ay.t("GlobalLogo") }}</v-list-item-title> <v-list-item-title>{{ $ay.t("GlobalLogo") }}</v-list-item-title>
</v-list-item> </v-list-item>
<v-list-item <v-list-item
link link
to="adm-global-select-templates" to="adm-global-select-templates"
:data-cy="!!$ay.dev ? 'pickListTemplates' : false" data-cy="pickListTemplates"
> >
<v-list-item-title>{{ <v-list-item-title>{{
$ay.t("PickListTemplates") $ay.t("PickListTemplates")

View File

@@ -9,7 +9,7 @@
:singleSelect="false" :singleSelect="false"
:reload="reload" :reload="reload"
v-on:selection-change="handleSelected" v-on:selection-change="handleSelected"
:data-cy="!!$ay.dev ? 'historyTable' : false" data-cy="historyTable"
> >
</gz-data-table> </gz-data-table>
</div> </div>

View File

@@ -7,7 +7,7 @@
<template v-if="showLicenseUi() == 'ok'"> <template v-if="showLicenseUi() == 'ok'">
<!-- Normal active license UI --> <!-- Normal active license UI -->
<v-col cols="12" md="7"> <v-col cols="12" md="7">
<v-card :data-cy="!!$ay.dev ? 'licenseCard' : false"> <v-card data-cy="licenseCard">
<v-list two-line subheader> <v-list two-line subheader>
<v-subheader>{{ $ay.t("HelpLicense") }}</v-subheader> <v-subheader>{{ $ay.t("HelpLicense") }}</v-subheader>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -3,7 +3,8 @@
<h1> <h1>
//DASHBOARD - KPI / METRICS / CHARTS AND STUFF APPROPRIATE TO ROLE //DASHBOARD - KPI / METRICS / CHARTS AND STUFF APPROPRIATE TO ROLE
</h1> </h1>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <!-- <UnderConstruction data-cy="underconstruction" /> -->
<UnderConstruction data-cy="underconstruction" />
</div> </div>
</template> </template>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -12,7 +12,7 @@
ref="searchPhrase" ref="searchPhrase"
@change="getDataFromApi()" @change="getDataFromApi()"
hint="text, *xt, te*" hint="text, *xt, te*"
:data-cy="!!$ay.dev ? 'phrase' : false" data-cy="phrase"
></v-text-field> ></v-text-field>
</v-col> </v-col>
<v-col cols="12" sm="4" lg="4" xl="3"> <v-col cols="12" sm="4" lg="4" xl="3">
@@ -26,9 +26,7 @@
</v-col> </v-col>
<v-col cols="12" sm="4" lg="4" xl="3"> <v-col cols="12" sm="4" lg="4" xl="3">
<v-btn color="primary" v-on:click="getDataFromApi()" value="SEARCH"> <v-btn color="primary" v-on:click="getDataFromApi()" value="SEARCH">
<v-icon :data-cy="!!$ay.dev ? 'btnsearch' : false" <v-icon data-cy="btnsearch">$ayiSearch</v-icon>
>$ayiSearch</v-icon
>
</v-btn> </v-btn>
</v-col> </v-col>
@@ -52,7 +50,7 @@
<v-list-item link :key="item.index"> <v-list-item link :key="item.index">
<v-list-item-content <v-list-item-content
@click="openItem(item)" @click="openItem(item)"
:data-cy="!!$ay.dev ? 'btnopenitem' + item.index : false" :data-cy="'btnopenitem' + item.index"
> >
<v-list-item-title v-text="item.name"></v-list-item-title> <v-list-item-title v-text="item.name"></v-list-item-title>
<v-list-item-subtitle <v-list-item-subtitle
@@ -64,9 +62,7 @@
<v-icon <v-icon
color="grey lighten-1" color="grey lighten-1"
large large
:data-cy=" :data-cy="'btnexcerpt' + item.index"
!!$ay.dev ? 'btnexcerpt' + item.index : false
"
>$ayiInfoCircle</v-icon >$ayiInfoCircle</v-icon
> >
</v-btn> </v-btn>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" /> <UnderConstruction data-cy="underconstruction" />
</template> </template>
<script> <script>