This commit is contained in:
@@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user