This commit is contained in:
2020-10-19 22:52:58 +00:00
parent 1b4d56258f
commit ed2ee8cdeb
4 changed files with 12 additions and 6 deletions

View File

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

View File

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

View File

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

View File

@@ -145,15 +145,19 @@ describe("SMOKE", () => {
cy.visit("/adm-license");
cy.url().should("include", "/adm-license");
cy.get("[data-cy=underconstruction]");
cy.get("[data-cy=licenseCard]");
cy.visit("/adm-users");
cy.url().should("include", "/adm-users");
cy.get("[data-cy=underconstruction]");
cy.get("[data-cy=usersTable]");
cy.visit("/adm-translation");
cy.url().should("include", "/adm-translation");
cy.get("[data-cy=underconstruction]");
cy.visit("/adm-translations");
cy.url().should("include", "/adm-translations");
cy.get("[data-cy=transTable]");
cy.visit("/adm-translations/1");
cy.url().should("include", "/adm-translations/1");
cy.get("[data-cy=name]");
cy.visit("/adm-report-templates");
cy.url().should("include", "/adm-report-templates");