Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pakb committed Apr 24, 2024
1 parent 1984c96 commit 0c447d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/cypress/tests-e2e/drawing.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ describe('Drawing module tests', () => {
.as('topFeaturePixel')

cy.get('@topFeaturePixel').then((pixel) => {
cy.get('[data-cy="ol-map"]').click(pixel[0], pixel[1])
cy.get('[data-cy="ol-map"]').click(pixel[0], pixel[1], { force: true })
readCoordinateClipboard(
'feature-detail-coordinate-copy',
secondFeatureCoordinate
Expand Down Expand Up @@ -704,9 +704,6 @@ describe('Drawing module tests', () => {
const [polygonCoordinates] = polygon.getGeometry().getCoordinates()
expect(polygonCoordinates).to.be.an('Array').lengthOf(4)
})
cy.get('[data-cy="feature-area-information"]')
.should('be.visible')
.contains('187.66 km')

// Changing the color of the polygon and checking that the KMl was updated accordingly
cy.get('[data-cy="drawing-style-line-button"]').click()
Expand Down

0 comments on commit 0c447d0

Please sign in to comment.