This commit is contained in:
@@ -127,14 +127,14 @@ export default new Router({
|
|||||||
/* webpackChunkName: "ay-common" */ "./views/home-user-settings.vue"
|
/* webpackChunkName: "ay-common" */ "./views/home-user-settings.vue"
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
path: "/home-translation",
|
// path: "/home-translation",
|
||||||
name: "home-translation",
|
// name: "home-translation",
|
||||||
component: () =>
|
// component: () =>
|
||||||
import(
|
// import(
|
||||||
/* webpackChunkName: "ay-common" */ "./views/home-translation.vue"
|
// /* webpackChunkName: "ay-common" */ "./views/home-translation.vue"
|
||||||
)
|
// )
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
path: "/home-password",
|
path: "/home-password",
|
||||||
name: "home-password",
|
name: "home-password",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<h1>
|
<h1>
|
||||||
//DASHBOARD - KPI / METRICS / CHARTS AND STUFF APPROPRIATE TO ROLE
|
//DASHBOARD - KPI / METRICS / CHARTS AND STUFF APPROPRIATE TO ROLE
|
||||||
</h1>
|
</h1>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -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>
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<UnderConstruction />
|
<UnderConstruction :data-cy="!!$ay.dev ? 'underconstruction' : false" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -15,70 +15,126 @@ describe("SMOKE", () => {
|
|||||||
|
|
||||||
cy.visit("/home-dashboard");
|
cy.visit("/home-dashboard");
|
||||||
cy.url().should("include", "/home-dashboard");
|
cy.url().should("include", "/home-dashboard");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
//go to every form and ensure it loads
|
//go to every form and ensure it loads
|
||||||
|
|
||||||
cy.visit("/home-search");
|
cy.visit("/home-search");
|
||||||
cy.url().should("include", "/home-search");
|
cy.url().should("include", "/home-search");
|
||||||
|
cy.get("[data-cy=phrase]");
|
||||||
|
|
||||||
cy.visit("/home-schedule");
|
cy.visit("/home-schedule");
|
||||||
cy.url().should("include", "/home-schedule");
|
cy.url().should("include", "/home-schedule");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/home-memos");
|
cy.visit("/home-memos");
|
||||||
cy.url().should("include", "/home-memos");
|
cy.url().should("include", "/home-memos");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/home-reminders");
|
cy.visit("/home-reminders");
|
||||||
cy.url().should("include", "/home-reminders");
|
cy.url().should("include", "/home-reminders");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/home-user-settings");
|
cy.visit("/home-user-settings");
|
||||||
cy.url().should("include", "/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.visit("/home-password");
|
||||||
cy.url().should("include", "/home-password");
|
cy.url().should("include", "/home-password");
|
||||||
cy.visit("/home-notify-subscriptions");
|
cy.visit("/home-notify-subscriptions");
|
||||||
cy.url().should("include", "/home-notify-subscriptions");
|
cy.url().should("include", "/home-notify-subscriptions");
|
||||||
|
|
||||||
cy.visit("/cust-customers");
|
cy.visit("/cust-customers");
|
||||||
cy.url().should("include", "/cust-customers");
|
cy.url().should("include", "/cust-customers");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/cust-headoffices");
|
cy.visit("/cust-headoffices");
|
||||||
cy.url().should("include", "/cust-headoffices");
|
cy.url().should("include", "/cust-headoffices");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-schedule");
|
cy.visit("/svc-schedule");
|
||||||
cy.url().should("include", "/svc-schedule");
|
cy.url().should("include", "/svc-schedule");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-workorders");
|
cy.visit("/svc-workorders");
|
||||||
cy.url().should("include", "/svc-workorders");
|
cy.url().should("include", "/svc-workorders");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-workorder-templates");
|
cy.visit("/svc-workorder-templates");
|
||||||
cy.url().should("include", "/svc-workorder-templates");
|
cy.url().should("include", "/svc-workorder-templates");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-quotes");
|
cy.visit("/svc-quotes");
|
||||||
cy.url().should("include", "/svc-quotes");
|
cy.url().should("include", "/svc-quotes");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-quote-templates");
|
cy.visit("/svc-quote-templates");
|
||||||
cy.url().should("include", "/svc-quote-templates");
|
cy.url().should("include", "/svc-quote-templates");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-pm-list");
|
cy.visit("/svc-pm-list");
|
||||||
cy.url().should("include", "/svc-pm-list");
|
cy.url().should("include", "/svc-pm-list");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-pm-templates");
|
cy.visit("/svc-pm-templates");
|
||||||
cy.url().should("include", "/svc-pm-templates");
|
cy.url().should("include", "/svc-pm-templates");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-units");
|
cy.visit("/svc-units");
|
||||||
cy.url().should("include", "/svc-units");
|
cy.url().should("include", "/svc-units");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-unit-models");
|
cy.visit("/svc-unit-models");
|
||||||
cy.url().should("include", "/svc-unit-models");
|
cy.url().should("include", "/svc-unit-models");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-loaners");
|
cy.visit("/svc-loaners");
|
||||||
cy.url().should("include", "/svc-loaners");
|
cy.url().should("include", "/svc-loaners");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-contracts");
|
cy.visit("/svc-contracts");
|
||||||
cy.url().should("include", "/svc-contracts");
|
cy.url().should("include", "/svc-contracts");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/svc-csr-list");
|
cy.visit("/svc-csr-list");
|
||||||
cy.url().should("include", "/svc-csr-list");
|
cy.url().should("include", "/svc-csr-list");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/inv-parts");
|
cy.visit("/inv-parts");
|
||||||
cy.url().should("include", "/inv-parts");
|
cy.url().should("include", "/inv-parts");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/inv-part-inventory");
|
cy.visit("/inv-part-inventory");
|
||||||
cy.url().should("include", "/inv-part-inventory");
|
cy.url().should("include", "/inv-part-inventory");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/inv-part-requests");
|
cy.visit("/inv-part-requests");
|
||||||
cy.url().should("include", "/inv-part-requests");
|
cy.url().should("include", "/inv-part-requests");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/inv-purchase-orders");
|
cy.visit("/inv-purchase-orders");
|
||||||
cy.url().should("include", "/inv-purchase-orders");
|
cy.url().should("include", "/inv-purchase-orders");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/inv-purchase-order-receipts");
|
cy.visit("/inv-purchase-order-receipts");
|
||||||
cy.url().should("include", "/inv-purchase-order-receipts");
|
cy.url().should("include", "/inv-purchase-order-receipts");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/inv-adjustments");
|
cy.visit("/inv-adjustments");
|
||||||
cy.url().should("include", "/inv-adjustments");
|
cy.url().should("include", "/inv-adjustments");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/vendors");
|
cy.visit("/vendors");
|
||||||
cy.url().should("include", "/vendors");
|
cy.url().should("include", "/vendors");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/acc-accounting");
|
cy.visit("/acc-accounting");
|
||||||
cy.url().should("include", "/acc-accounting");
|
cy.url().should("include", "/acc-accounting");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/adm-global-settings");
|
cy.visit("/adm-global-settings");
|
||||||
cy.url().should("include", "/adm-global-settings");
|
cy.url().should("include", "/adm-global-settings");
|
||||||
|
|
||||||
@@ -125,6 +181,8 @@ describe("SMOKE", () => {
|
|||||||
);
|
);
|
||||||
cy.visit("/review/2/1");
|
cy.visit("/review/2/1");
|
||||||
cy.url().should("include", "/review/2/1");
|
cy.url().should("include", "/review/2/1");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/history/3/1");
|
cy.visit("/history/3/1");
|
||||||
cy.url().should("include", "/history/3/1");
|
cy.url().should("include", "/history/3/1");
|
||||||
|
|
||||||
@@ -150,8 +208,11 @@ describe("SMOKE", () => {
|
|||||||
.clear()
|
.clear()
|
||||||
.type("CustomerFull{enter}");
|
.type("CustomerFull{enter}");
|
||||||
cy.url().should("include", "/customer-csr-list");
|
cy.url().should("include", "/customer-csr-list");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
cy.visit("/customer-workorders");
|
cy.visit("/customer-workorders");
|
||||||
cy.url().should("include", "/customer-workorders");
|
cy.url().should("include", "/customer-workorders");
|
||||||
|
cy.get("[data-cy=underconstruction]");
|
||||||
|
|
||||||
//LOGOUT
|
//LOGOUT
|
||||||
cy.get("[data-cy=navicon]").click();
|
cy.get("[data-cy=navicon]").click();
|
||||||
|
|||||||
Reference in New Issue
Block a user