chore: fixed merge conflicts

This commit is contained in:
Jannat Patel
2024-06-26 09:34:09 +05:30
5 changed files with 37 additions and 30 deletions

View File

@@ -40,15 +40,6 @@ Cypress.Commands.add("login", (email, password) => {
});
});
Cypress.Commands.add("get_logged_user", () => {
cy.request({
url: "/api/method/frappe.auth.get_logged_user",
}).then((resp) => {
alert(resp);
return resp.message;
});
});
Cypress.Commands.add("button", (text) => {
return cy.get(`button:contains("${text}")`);
});