From 4a562acd9226216f3245dfd28e7ca8ac88966801 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 26 Nov 2024 21:58:30 -0300 Subject: [PATCH] test: change selector --- test/cypress/integration/claim/Order/catalogTests.spec.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/cypress/integration/claim/Order/catalogTests.spec.js b/test/cypress/integration/claim/Order/catalogTests.spec.js index 06e0d7820..45eda6f1f 100644 --- a/test/cypress/integration/claim/Order/catalogTests.spec.js +++ b/test/cypress/integration/claim/Order/catalogTests.spec.js @@ -71,10 +71,7 @@ describe('OrderCatalog', () => { cy.dataCy('catalogFilterValueDialogBtn').should('exist'); cy.dataCy('catalogFilterValueDialogBtn').last().click(); cy.dataCy('catalogFilterValueDialogTagSelect').should('exist'); - cy.selectOption( - "[data-cy='catalogFilterValueDialog'] > label > div > div > div", - 'Tallos' - ); + cy.selectOption("[data-cy='catalogFilterValueDialogTagSelect']", 'Tallos'); cy.dataCy('catalogFilterValueDialogValueInput').find('input').focus(); cy.dataCy('catalogFilterValueDialogValueInput').find('input').type('2'); cy.dataCy('catalogFilterValueDialogValueInput').find('input').type('{enter}');