This commit is contained in:
2021-12-20 20:29:23 +00:00
parent c013fb6c9e
commit 158adf21f7
4 changed files with 58 additions and 30 deletions

View File

@@ -17,15 +17,8 @@ describe("Memo features", () => {
);
cy.get("[data-cy=notes]").type(
`The quick brown fox jumped{enter}over the six lazy dogs{enter}eot`
);
//TODO: TURN THIS INTO A COMMAND AND THEN SWAP THAT OUT EVERY EXISTING TEST WITH TAG ENTRY
// cy.get("[data-cy=tags]").click().type("zone1{downarrow}{enter}"); //select some tags
// cy.get("[data-cy=tags]").click().type("blue{downarrow}{enter}");
// cy.get("[data-cy=tags]").click().type("zone2{downarrow}{enter}");
);
cy.ayChooseExistingTags("tags",['zone1','blue','zone2']);
cy.get("[data-cy='memo-edit:save'] > .v-btn__content").click();
cy.url().should("include", "/home-memos"); //wait for nav
cy.contains(`${Cypress.config("cyid")}-test-subject`).click(); //find and open memo record