1
0
Fork 0
mirror of synced 2024-09-29 08:41:16 +13:00

Removing unused function.

This commit is contained in:
mike12345567 2021-06-07 17:00:03 +01:00
parent 1f798f594d
commit 88290f2a13

View file

@ -5,19 +5,6 @@
// ***********************************************
//
export function checkIfElementExists(el) {
return new Promise(resolve => {
/// here if ele exists or not
cy.get("body").then(body => {
if (body.find(el).length > 0) {
resolve(true)
} else {
resolve(false)
}
})
})
}
Cypress.Commands.add("login", () => {
cy.visit(`localhost:${Cypress.env("PORT")}/builder`)
cy.wait(500)