This commit is contained in:
2020-10-19 22:26:01 +00:00
parent 34a9b57b68
commit b3074f7159
32 changed files with 100 additions and 60 deletions

View File

@@ -127,14 +127,14 @@ export default new Router({
/* webpackChunkName: "ay-common" */ "./views/home-user-settings.vue"
)
},
{
path: "/home-translation",
name: "home-translation",
component: () =>
import(
/* webpackChunkName: "ay-common" */ "./views/home-translation.vue"
)
},
// {
// path: "/home-translation",
// name: "home-translation",
// component: () =>
// import(
// /* webpackChunkName: "ay-common" */ "./views/home-translation.vue"
// )
// },
{
path: "/home-password",
name: "home-password",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,21 +0,0 @@
<template>
<UnderConstruction />
</template>
<script>
import UnderConstruction from "../components/underconstruction.vue";
export default {
components: {
UnderConstruction
},
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "$ayiLanguage",
title: "Translation",
helpUrl: "form-home-translation"
});
}
};
</script>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -15,70 +15,126 @@ describe("SMOKE", () => {
cy.visit("/home-dashboard");
cy.url().should("include", "/home-dashboard");
cy.get("[data-cy=underconstruction]");
//go to every form and ensure it loads
cy.visit("/home-search");
cy.url().should("include", "/home-search");
cy.get("[data-cy=phrase]");
cy.visit("/home-schedule");
cy.url().should("include", "/home-schedule");
cy.get("[data-cy=underconstruction]");
cy.visit("/home-memos");
cy.url().should("include", "/home-memos");
cy.get("[data-cy=underconstruction]");
cy.visit("/home-reminders");
cy.url().should("include", "/home-reminders");
cy.get("[data-cy=underconstruction]");
cy.visit("/home-user-settings");
cy.url().should("include", "/home-user-settings");
cy.visit("/home-translation");
cy.url().should("include", "/home-translation");
// cy.visit("/home-translation");
// cy.url().should("include", "/home-translation");
// cy.get("[data-cy=underconstruction]");
cy.visit("/home-password");
cy.url().should("include", "/home-password");
cy.visit("/home-notify-subscriptions");
cy.url().should("include", "/home-notify-subscriptions");
cy.visit("/cust-customers");
cy.url().should("include", "/cust-customers");
cy.get("[data-cy=underconstruction]");
cy.visit("/cust-headoffices");
cy.url().should("include", "/cust-headoffices");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-schedule");
cy.url().should("include", "/svc-schedule");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-workorders");
cy.url().should("include", "/svc-workorders");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-workorder-templates");
cy.url().should("include", "/svc-workorder-templates");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-quotes");
cy.url().should("include", "/svc-quotes");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-quote-templates");
cy.url().should("include", "/svc-quote-templates");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-pm-list");
cy.url().should("include", "/svc-pm-list");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-pm-templates");
cy.url().should("include", "/svc-pm-templates");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-units");
cy.url().should("include", "/svc-units");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-unit-models");
cy.url().should("include", "/svc-unit-models");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-loaners");
cy.url().should("include", "/svc-loaners");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-contracts");
cy.url().should("include", "/svc-contracts");
cy.get("[data-cy=underconstruction]");
cy.visit("/svc-csr-list");
cy.url().should("include", "/svc-csr-list");
cy.get("[data-cy=underconstruction]");
cy.visit("/inv-parts");
cy.url().should("include", "/inv-parts");
cy.get("[data-cy=underconstruction]");
cy.visit("/inv-part-inventory");
cy.url().should("include", "/inv-part-inventory");
cy.get("[data-cy=underconstruction]");
cy.visit("/inv-part-requests");
cy.url().should("include", "/inv-part-requests");
cy.get("[data-cy=underconstruction]");
cy.visit("/inv-purchase-orders");
cy.url().should("include", "/inv-purchase-orders");
cy.get("[data-cy=underconstruction]");
cy.visit("/inv-purchase-order-receipts");
cy.url().should("include", "/inv-purchase-order-receipts");
cy.get("[data-cy=underconstruction]");
cy.visit("/inv-adjustments");
cy.url().should("include", "/inv-adjustments");
cy.get("[data-cy=underconstruction]");
cy.visit("/vendors");
cy.url().should("include", "/vendors");
cy.get("[data-cy=underconstruction]");
cy.visit("/acc-accounting");
cy.url().should("include", "/acc-accounting");
cy.get("[data-cy=underconstruction]");
cy.visit("/adm-global-settings");
cy.url().should("include", "/adm-global-settings");
@@ -125,6 +181,8 @@ describe("SMOKE", () => {
);
cy.visit("/review/2/1");
cy.url().should("include", "/review/2/1");
cy.get("[data-cy=underconstruction]");
cy.visit("/history/3/1");
cy.url().should("include", "/history/3/1");
@@ -150,8 +208,11 @@ describe("SMOKE", () => {
.clear()
.type("CustomerFull{enter}");
cy.url().should("include", "/customer-csr-list");
cy.get("[data-cy=underconstruction]");
cy.visit("/customer-workorders");
cy.url().should("include", "/customer-workorders");
cy.get("[data-cy=underconstruction]");
//LOGOUT
cy.get("[data-cy=navicon]").click();