Last active
February 7, 2021 18:11
-
-
Save dualyticalchemy/1f467c81b5077c0ff6594127656abe08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { getAngular } = require('./getAngular.js'); | |
const getElement = (sel) => { | |
return cy.get(sel) | |
.then($el => getAngular() | |
.then(ng => ng.element($el))); | |
}; | |
export { | |
getElement | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment