From 9a10d34a7903fd37f344585d54fd81e1e56356d5 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 29 Oct 2021 23:17:32 +0000 Subject: [PATCH] --- ayanova/src/components/date-time-control.vue | 60 ++++++++++++++------ ayanova/src/views/ay-evaluate.vue | 2 + ayanova/src/views/home-reminder.vue | 2 + 3 files changed, 46 insertions(+), 18 deletions(-) diff --git a/ayanova/src/components/date-time-control.vue b/ayanova/src/components/date-time-control.vue index 2ad57a05..cc4093b4 100644 --- a/ayanova/src/components/date-time-control.vue +++ b/ayanova/src/components/date-time-control.vue @@ -24,17 +24,29 @@ :locale="languageName" :data-cy="'dpick:' + testId" > - {{ - $ay.t("Delete") - }} + {{ $ay.t("Delete") }} - {{ - $ay.t("DateRangeToday") - }} + {{ $ay.t("DateRangeToday") }} - {{ - $ay.t("OK") - }} + {{ $ay.t("OK") }} @@ -60,17 +72,29 @@ @input="updateTimeValue" :data-cy="'tpick:' + testId" > - {{ - $ay.t("Delete") - }} + {{ $ay.t("Delete") }} - {{ - $ay.t("Now") - }} + {{ $ay.t("Now") }} - {{ - $ay.t("OK") - }} + {{ $ay.t("OK") }} diff --git a/ayanova/src/views/ay-evaluate.vue b/ayanova/src/views/ay-evaluate.vue index ac630a64..b431abd5 100644 --- a/ayanova/src/views/ay-evaluate.vue +++ b/ayanova/src/views/ay-evaluate.vue @@ -48,6 +48,7 @@ color="blue darken-1" text @click="generate()" + data-cy="btnStart" >{{ $ay.t("StartJob") }} @@ -92,6 +93,7 @@ text @click="seedDialog = !seedDialog" class="my-8 mr-12" + data-cy="btnSeed" >{{ $ay.t("GenerateSampleData") }} diff --git a/ayanova/src/views/home-reminder.vue b/ayanova/src/views/home-reminder.vue index 22eec621..7cbdcefe 100644 --- a/ayanova/src/views/home-reminder.vue +++ b/ayanova/src/views/home-reminder.vue @@ -25,6 +25,7 @@ :readonly="formState.readOnly" ref="startDate" data-cy="startDate" + test-id="startDate" :error-messages="form().serverErrors(this, 'startDate')" @input="fieldValueChanged('startDate')" > @@ -39,6 +40,7 @@ :readonly="formState.readOnly" ref="stopDate" data-cy="stopDate" + test-id="stopDate" @input="fieldValueChanged('stopDate')" >