This commit is contained in:
@@ -42,7 +42,7 @@ describe("SEARCH", () => {
|
||||
|
||||
cy.get("[data-cy=btnopenitem1] > .v-list-item__title")
|
||||
.invoke("text")
|
||||
.then((t) => {
|
||||
.then(t => {
|
||||
sub = t;
|
||||
//nave to first result form
|
||||
cy.get("[data-cy=btnopenitem1]").click();
|
||||
|
||||
@@ -12,7 +12,7 @@ describe("PICK LIST TEMPLATE", () => {
|
||||
cy.get("input[name=password]")
|
||||
.clear()
|
||||
.type(`${Cypress.env("adminpassword")}{enter}`);
|
||||
// cy.url().should("include", "/home-dashboard");
|
||||
// cy.url().should("include", "/home-dashboard");
|
||||
|
||||
cy.visit("/adm-global-settings");
|
||||
cy.url().should("include", "/adm-global-settings");
|
||||
|
||||
@@ -96,7 +96,6 @@ describe("SMOKE", () => {
|
||||
cy.url().should("include", "/adm-attachments");
|
||||
cy.visit("/adm-history");
|
||||
cy.url().should("include", "/adm-history");
|
||||
|
||||
|
||||
cy.visit("/ops-backup");
|
||||
cy.url().should("include", "/ops-backup");
|
||||
|
||||
@@ -15,7 +15,7 @@ describe("TRANSLATION", () => {
|
||||
.type("fr{enter}");
|
||||
|
||||
// we should be redirected to /dashboard
|
||||
// cy.url().should("include", "/home-dashboard");
|
||||
// cy.url().should("include", "/home-dashboard");
|
||||
|
||||
//nav to about form
|
||||
cy.get("[data-cy=contextmenu]").click();
|
||||
@@ -49,7 +49,7 @@ describe("TRANSLATION", () => {
|
||||
.type("es{enter}");
|
||||
|
||||
// we should be redirected to /dashboard
|
||||
// cy.url().should("include", "/home-dashboard");
|
||||
// cy.url().should("include", "/home-dashboard");
|
||||
|
||||
//nav to about form
|
||||
cy.get("[data-cy=contextmenu]").click();
|
||||
@@ -79,7 +79,7 @@ describe("TRANSLATION", () => {
|
||||
.type("de{enter}");
|
||||
|
||||
// we should be redirected to /dashboard
|
||||
// cy.url().should("include", "/home-dashboard");
|
||||
// cy.url().should("include", "/home-dashboard");
|
||||
|
||||
//nav to about form
|
||||
cy.get("[data-cy=contextmenu]").click();
|
||||
|
||||
@@ -26,7 +26,7 @@ describe("WIDGET FORM", () => {
|
||||
//save the start url for later
|
||||
let startUrl = null;
|
||||
//funcs are async so need to get result via then
|
||||
cy.url().then((url) => {
|
||||
cy.url().then(url => {
|
||||
startUrl = url;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user