This commit is contained in:
2020-10-19 19:11:34 +00:00
parent 067a7e2ef7
commit 34a9b57b68
10 changed files with 90 additions and 83 deletions

View File

@@ -42,7 +42,8 @@ describe("WIDGET FORM", () => {
cy.contains("Name is a required field").should("not.exist");
cy.get("[data-cy=count]").type("123");
cy.get("[data-cy=dollarAmount]").type("123.45");
cy.get("[data-cy=dollarAmount]").type("123.45{enter}");
//cy.wait(25);
cy.contains("Price is a required field").should("not.exist");
//start date
@@ -89,12 +90,13 @@ describe("WIDGET FORM", () => {
cy.get("[data-cy=name]").should("have.value", name);
//delete the record
cy.get("[data-cy=contextmenu]").click();
cy.get('[data-cy="widget-edit:delete"]').click();
cy.get('[data-cy="gzconfirm:yesbutton"]').click();
// //LOGOUT
// cy.get("[data-cy=contextmenu]").click();
// cy.get("[data-cy='app:logout']").click();
// cy.url().should("include", "/login");
cy.get("[data-cy=navicon]").click();
cy.get("[data-cy=logout]").click();
cy.url().should("include", "/login");
});
});