This commit is contained in:
2020-10-07 15:30:34 +00:00
parent 2eb32a4fd8
commit 0185b6941c
12 changed files with 480 additions and 291 deletions

View File

@@ -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();

View File

@@ -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");

View File

@@ -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");

View File

@@ -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();

View File

@@ -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;
});