Last active
December 13, 2018 14:33
-
-
Save codeofsumit/0ecf5e85d8b093e729febdbe0423e7a2 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
describe('Draw & Edit Polygons', () => { | |
it('correctly draws a polygon', () => { | |
cy.toolbarButton('polygon').click(); | |
cy.get('#map') | |
.click(390, 250) | |
.click(400, 50) | |
.click(450, 50) | |
.click(450, 150) | |
.click(390, 250); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment