This commit is contained in:
2020-04-01 01:27:23 +00:00
parent a6d9237fa4
commit 1d3ac3590c

View File

@@ -96,12 +96,18 @@ describe("WIDGET", () => {
cy.get("[data-cy=notes]").type("Testing 1..2..3{enter}EOT");
cy.get("[data-cy=tags] input[type=text] ").type("zone1{enter}");
cy.get("[data-cy=tags] input[type=text] ").type("zone1{enter}{esc}");
cy.get("[data-cy=WidgetCustom2]").click(); //to close the tags above
// cy.get("[data-cy=WidgetCustom2]").click(); //to close the tags above
cy.get("[data-cy=WidgetCustom2]").type(
"Custom text field testing a...b...c...{enter}EOT"
);
//SAve the record
cy.get('[data-cy="widget-edit:save"]').click();
//cy.get("[data-cy=WidgetCustom4]").check({ force: true }); //have to force, for some reason it thinks it's covered
//cy.get("[data-cy=tags]").type("zone1{enter}", { force: true });
// // we should be redirected to /dashboard