This commit is contained in:
@@ -96,12 +96,18 @@ describe("WIDGET", () => {
|
|||||||
|
|
||||||
cy.get("[data-cy=notes]").type("Testing 1..2..3{enter}EOT");
|
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(
|
cy.get("[data-cy=WidgetCustom2]").type(
|
||||||
"Custom text field testing a...b...c...{enter}EOT"
|
"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 });
|
//cy.get("[data-cy=tags]").type("zone1{enter}", { force: true });
|
||||||
|
|
||||||
// // we should be redirected to /dashboard
|
// // we should be redirected to /dashboard
|
||||||
|
|||||||
Reference in New Issue
Block a user