This commit is contained in:
@@ -13,6 +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"
|
||||||
>
|
>
|
||||||
</gz-data-table>
|
</gz-data-table>
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +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"
|
||||||
>
|
>
|
||||||
</gz-data-table>
|
</gz-data-table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
:singleSelect="false"
|
:singleSelect="false"
|
||||||
:reload="reload"
|
:reload="reload"
|
||||||
v-on:selection-change="handleSelected"
|
v-on:selection-change="handleSelected"
|
||||||
|
:data-cy="!!$ay.dev ? 'reportTemplatesTable' : false"
|
||||||
>
|
>
|
||||||
</gz-data-table>
|
</gz-data-table>
|
||||||
<v-file-input
|
<v-file-input
|
||||||
|
|||||||
@@ -75,6 +75,7 @@
|
|||||||
:sort-by="['created']"
|
:sort-by="['created']"
|
||||||
:sort-desc="[true]"
|
:sort-desc="[true]"
|
||||||
:header-props="{ sortByText: $ay.t('Sort') }"
|
:header-props="{ sortByText: $ay.t('Sort') }"
|
||||||
|
:data-cy="!!$ay.dev ? 'backupTable' : false"
|
||||||
>
|
>
|
||||||
<template v-slot:[`item.actions`]="{ item }">
|
<template v-slot:[`item.actions`]="{ item }">
|
||||||
<v-btn icon :href="item.url">
|
<v-btn icon :href="item.url">
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
:sort-by="['created']"
|
:sort-by="['created']"
|
||||||
:sort-desc="[true]"
|
:sort-desc="[true]"
|
||||||
:header-props="{ sortByText: $ay.t('Sort') }"
|
:header-props="{ sortByText: $ay.t('Sort') }"
|
||||||
|
:data-cy="!!$ay.dev ? 'jobsTable' : false"
|
||||||
>
|
>
|
||||||
<template v-slot:[`item.actions`]="{ item }">
|
<template v-slot:[`item.actions`]="{ item }">
|
||||||
<v-btn icon :href="item.url">
|
<v-btn icon :href="item.url">
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
@input="logSelected"
|
@input="logSelected"
|
||||||
append-outer-icon="$ayiSync"
|
append-outer-icon="$ayiSync"
|
||||||
@click:append-outer="getDataFromApi"
|
@click:append-outer="getDataFromApi"
|
||||||
|
:data-cy="!!$ay.dev ? 'selectedLog' : false"
|
||||||
>
|
>
|
||||||
</v-select>
|
</v-select>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
append-outer-icon="$ayiSync"
|
append-outer-icon="$ayiSync"
|
||||||
@click:append-outer="getDataFromApi"
|
@click:append-outer="getDataFromApi"
|
||||||
@input="timePeriodChanged"
|
@input="timePeriodChanged"
|
||||||
|
:data-cy="!!$ay.dev ? 'selectedTimePeriod' : false"
|
||||||
></v-select>
|
></v-select>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
|
|||||||
@@ -54,6 +54,7 @@
|
|||||||
form().serverErrors(this, 'smtpDeliveryActive')
|
form().serverErrors(this, 'smtpDeliveryActive')
|
||||||
"
|
"
|
||||||
@change="fieldValueChanged('smtpDeliveryActive')"
|
@change="fieldValueChanged('smtpDeliveryActive')"
|
||||||
|
:data-cy="!!$ay.dev ? 'smtpDeliveryActive' : false"
|
||||||
></v-checkbox>
|
></v-checkbox>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</v-btn>
|
</v-btn>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<v-card elevation="4">
|
<v-card elevation="4" :data-cy="!!$ay.dev ? 'profileCard' : false">
|
||||||
<v-card :height="cardHeight">
|
<v-card :height="cardHeight">
|
||||||
<iframe
|
<iframe
|
||||||
id="profileFrame"
|
id="profileFrame"
|
||||||
|
|||||||
@@ -13,7 +13,11 @@
|
|||||||
:disabled="formState.readOnly"
|
:disabled="formState.readOnly"
|
||||||
@change="fieldValueChanged('serverState')"
|
@change="fieldValueChanged('serverState')"
|
||||||
>
|
>
|
||||||
<v-radio :label="$ay.t('ServerStateOpen')" value="Open"></v-radio>
|
<v-radio
|
||||||
|
:label="$ay.t('ServerStateOpen')"
|
||||||
|
value="Open"
|
||||||
|
:data-cy="!!$ay.dev ? 'serverStateOpen' : false"
|
||||||
|
></v-radio>
|
||||||
<v-radio
|
<v-radio
|
||||||
:label="$ay.t('ServerStateOps')"
|
:label="$ay.t('ServerStateOps')"
|
||||||
value="OpsOnly"
|
value="OpsOnly"
|
||||||
|
|||||||
@@ -161,43 +161,43 @@ describe("SMOKE", () => {
|
|||||||
|
|
||||||
cy.visit("/adm-report-templates");
|
cy.visit("/adm-report-templates");
|
||||||
cy.url().should("include", "/adm-report-templates");
|
cy.url().should("include", "/adm-report-templates");
|
||||||
cy.get("[data-cy=underconstruction]");
|
cy.get("[data-cy=reportTemplatesTable]");
|
||||||
|
|
||||||
cy.visit("/adm-attachments");
|
cy.visit("/adm-attachments");
|
||||||
cy.url().should("include", "/adm-attachments");
|
cy.url().should("include", "/adm-attachments");
|
||||||
cy.get("[data-cy=underconstruction]");
|
cy.get("[data-cy=attachTable]");
|
||||||
|
|
||||||
cy.visit("/adm-history");
|
cy.visit("/adm-history");
|
||||||
cy.url().should("include", "/adm-history");
|
cy.url().should("include", "/adm-history");
|
||||||
cy.get("[data-cy=underconstruction]");
|
cy.get("[data-cy=historyTable]");
|
||||||
|
|
||||||
cy.visit("/ops-backup");
|
cy.visit("/ops-backup");
|
||||||
cy.url().should("include", "/ops-backup");
|
cy.url().should("include", "/ops-backup");
|
||||||
cy.get("[data-cy=underconstruction]");
|
cy.get("[data-cy=backupTable]");
|
||||||
|
|
||||||
cy.visit("/ops-server-state");
|
cy.visit("/ops-server-state");
|
||||||
cy.url().should("include", "/ops-server-state");
|
cy.url().should("include", "/ops-server-state");
|
||||||
cy.get("[data-cy=underconstruction]");
|
cy.get("[data-cy=serverStateOpen]");
|
||||||
|
|
||||||
cy.visit("/ops-jobs");
|
cy.visit("/ops-jobs");
|
||||||
cy.url().should("include", "/ops-jobs");
|
cy.url().should("include", "/ops-jobs");
|
||||||
cy.get("[data-cy=underconstruction]");
|
cy.get("[data-cy=jobsTable]");
|
||||||
|
|
||||||
cy.visit("/ops-log");
|
cy.visit("/ops-log");
|
||||||
cy.url().should("include", "/ops-log");
|
cy.url().should("include", "/ops-log");
|
||||||
cy.get("[data-cy=underconstruction]");
|
cy.get("[data-cy=selectedLog]");
|
||||||
|
|
||||||
cy.visit("/ops-metrics");
|
cy.visit("/ops-metrics");
|
||||||
cy.url().should("include", "/ops-metrics");
|
cy.url().should("include", "/ops-metrics");
|
||||||
cy.get("[data-cy=underconstruction]");
|
cy.get("[data-cy=selectedTimePeriod]");
|
||||||
|
|
||||||
cy.visit("/ops-profile");
|
cy.visit("/ops-profile");
|
||||||
cy.url().should("include", "/ops-profile");
|
cy.url().should("include", "/ops-profile");
|
||||||
cy.get("[data-cy=underconstruction]");
|
cy.get("[data-cy=profileCard]");
|
||||||
|
|
||||||
cy.visit("/ops-notification-settings");
|
cy.visit("/ops-notification-settings");
|
||||||
cy.url().should("include", "/ops-notification-settings");
|
cy.url().should("include", "/ops-notification-settings");
|
||||||
cy.get("[data-cy=underconstruction]");
|
cy.get("[data-cy=smtpDeliveryActive]");
|
||||||
|
|
||||||
cy.visit("/about");
|
cy.visit("/about");
|
||||||
cy.url().should("include", "/about");
|
cy.url().should("include", "/about");
|
||||||
|
|||||||
Reference in New Issue
Block a user