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() })