From eae429fa7a7b909e5f12287617c2b0305d1cb6d5 Mon Sep 17 00:00:00 2001 From: Moritz Kirmse Date: Fri, 15 Nov 2024 14:02:18 +0100 Subject: [PATCH] fix test --- cypress/e2e/draw/draw-feat-style.cy.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/draw/draw-feat-style.cy.ts b/cypress/e2e/draw/draw-feat-style.cy.ts index 9b9dc469..c4dbb241 100644 --- a/cypress/e2e/draw/draw-feat-style.cy.ts +++ b/cypress/e2e/draw/draw-feat-style.cy.ts @@ -214,7 +214,10 @@ describe('Test style edition of Polygon feature', () => { cy.get('*[data-cy="featStyleColor"]') .invoke('val', '#0000ff') .trigger('input') - cy.get('*[data-cy="featStyleLineWidth"]').type('{selectAll}5.5') + cy.get('*[data-cy="featStyleLineWidth"]') + .find('input') + .eq(1) + .type('{selectAll}5.5') cy.get('*[data-cy="featStyleTransparency"]').type('{selectAll}22') cy.get('button[data-cy="featureEditValidate"]').click() }) @@ -256,7 +259,10 @@ describe('Test style edition of Circle feature', () => { cy.get('*[data-cy="featStyleColor"]') .invoke('val', '#00004f') .trigger('input') - cy.get('*[data-cy="featStyleLineWidth"]').type('{selectAll}3.5') + cy.get('*[data-cy="featStyleLineWidth"]') + .find('input') + .eq(1) + .type('{selectAll}3.5') cy.get('*[data-cy="featStyleTransparency"]').type('{selectAll}62') cy.get('button[data-cy="featureEditValidate"]').click() })