Last active
December 13, 2018 08:36
-
-
Save codeofsumit/3d1c7ba4e74d8ccd7e88358ed7ce554a 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
Cypress.Commands.add('hasMiddleMarkers', (count) => { | |
cy.get('.marker-icon-middle').should(($p) => { | |
expect($p).to.have.length(count); | |
}); | |
}); | |
Cypress.Commands.add('hasVertexMarkers', (count) => { | |
cy.get('.marker-icon:not(.marker-icon-middle)').should(($p) => { | |
expect($p).to.have.length(count); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment