forked from verdnatura/salix-front
test: change selector
This commit is contained in:
parent
b61d6e6cbe
commit
4a562acd92
|
@ -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}');
|
||||
|
|
Loading…
Reference in New Issue