This commit is contained in:
2020-04-05 14:36:46 +00:00
parent be813ef4fb
commit 0a315b4d57
2 changed files with 21 additions and 4 deletions

View File

@@ -21,13 +21,19 @@ describe("PICK LIST TEMPLATE", () => {
cy.get("[data-cy=SelectTemplate]").type("3{enter}", { force: true });
//hide tags field
cy.get("[data-cy=useremployeenumberInclude]").uncheck({ force: true });
cy.get("[data-cy=usertagsInclude]").uncheck({ force: true });
// cy.get(
// '[data-cy="adm-global-select-templates:save"] > .v-btn__content > .v-icon'
// ).click();
cy.get(
'[data-cy="adm-global-select-templates:save"] > .v-btn__content > .v-icon'
).click();
).click({ force: true });
cy.visit("/widgets/0");
cy.url().should("include", "/widgets/0");
cy.get("[data-cy=userid] > .v-input").type("a ..zone");
//select a user with a zone set
cy.get("[data-cy=userid] > .v-input").type(
"..zone{downarrow}{downarrow}{enter}"
);
//tags is off so there shouldn't be any "zones" visible in there
//-----------------
});