All forms as of today are exercised by "smoke" test and this commit
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
group
|
||||
@change="onViewChange"
|
||||
mandatory
|
||||
:data-cy="!!$ay.dev ? 'viewChange' : false"
|
||||
>
|
||||
<v-btn value="properties">
|
||||
{{ $ay.t("ReportEditorProperties") }}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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()">
|
||||
|
||||
@@ -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)">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -47,6 +47,18 @@ describe("SMOKE", () => {
|
||||
cy.url().should("include", "/home-notify-subscriptions");
|
||||
cy.get("[data-cy=subsTable]");
|
||||
|
||||
cy.visit("/home-notify-subscriptions/0");
|
||||
cy.url().should("include", "/home-notify-subscriptions/0");
|
||||
cy.get("[data-cy=eventType]");
|
||||
|
||||
cy.visit("/home-notifications");
|
||||
cy.url().should("include", "/home-notifications");
|
||||
cy.get("[data-cy=notifications]");
|
||||
|
||||
cy.visit("/home-notify-direct");
|
||||
cy.url().should("include", "/home-notify-direct");
|
||||
cy.get("[data-cy=pickListSelectedUserId]");
|
||||
|
||||
cy.visit("/cust-customers");
|
||||
cy.url().should("include", "/cust-customers");
|
||||
cy.get("[data-cy=underconstruction]");
|
||||
@@ -55,6 +67,10 @@ describe("SMOKE", () => {
|
||||
cy.url().should("include", "/cust-headoffices");
|
||||
cy.get("[data-cy=underconstruction]");
|
||||
|
||||
cy.visit("/cust-users");
|
||||
cy.url().should("include", "/cust-users");
|
||||
cy.get("[data-cy=custUsersTable]");
|
||||
|
||||
cy.visit("/svc-schedule");
|
||||
cy.url().should("include", "/svc-schedule");
|
||||
cy.get("[data-cy=underconstruction]");
|
||||
@@ -143,6 +159,10 @@ describe("SMOKE", () => {
|
||||
cy.url().should("include", "/adm-global-select-templates");
|
||||
cy.get("[data-cy=selectTemplate]");
|
||||
|
||||
cy.visit("/adm-global-logo");
|
||||
cy.url().should("include", "/adm-global-logo");
|
||||
cy.get("[data-cy=uploadSmall]");
|
||||
|
||||
cy.visit("/adm-license");
|
||||
cy.url().should("include", "/adm-license");
|
||||
cy.get("[data-cy=licenseCard]");
|
||||
@@ -163,6 +183,10 @@ describe("SMOKE", () => {
|
||||
cy.url().should("include", "/adm-report-templates");
|
||||
cy.get("[data-cy=reportTemplatesTable]");
|
||||
|
||||
cy.visit("/report-edit/1");
|
||||
cy.url().should("include", "/report-edit/1");
|
||||
cy.get("[data-cy=viewChange]");
|
||||
|
||||
cy.visit("/adm-attachments");
|
||||
cy.url().should("include", "/adm-attachments");
|
||||
cy.get("[data-cy=attachTable]");
|
||||
@@ -199,6 +223,14 @@ describe("SMOKE", () => {
|
||||
cy.url().should("include", "/ops-notification-settings");
|
||||
cy.get("[data-cy=smtpDeliveryActive]");
|
||||
|
||||
cy.visit("/ops-notify-queue");
|
||||
cy.url().should("include", "/ops-notify-queue");
|
||||
cy.get("[data-cy=notifyQueueTable]");
|
||||
|
||||
cy.visit("/ops-view-configuration");
|
||||
cy.url().should("include", "/ops-view-configuration");
|
||||
cy.get("[data-cy=configCard]");
|
||||
|
||||
cy.visit("/about");
|
||||
cy.url().should("include", "/about");
|
||||
cy.get("[data-cy=versionCard]");
|
||||
@@ -226,8 +258,6 @@ describe("SMOKE", () => {
|
||||
cy.url().should("include", "/history/3/1");
|
||||
cy.get("[data-cy=timeLine]");
|
||||
|
||||
//TODO: REPORT
|
||||
|
||||
cy.visit("/widgets");
|
||||
cy.url().should("include", "/widgets");
|
||||
cy.get("[data-cy=widgetsTable]");
|
||||
@@ -251,6 +281,7 @@ describe("SMOKE", () => {
|
||||
cy.get("input[name=password]")
|
||||
.clear()
|
||||
.type("CustomerFull{enter}");
|
||||
|
||||
cy.url().should("include", "/customer-csr-list");
|
||||
cy.get("[data-cy=underconstruction]");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user