0
0
Fork 0

fix: refs #8423 removed data-cy usage

This commit is contained in:
PAU ROVIRA ROSALENY 2025-01-29 08:31:40 +01:00
parent 7748df1384
commit 95f96d7ebd
1 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,7 @@ describe('ZoneWarehouse', () => {
it('should throw an error if the warehouse chosen is already put in the zone', () => {
cy.addBtnClick();
cy.get('[data-cy="Warehouse_select"]').type('Warehouse Two{enter}');
cy.get('.vn-row > .q-field > .q-field__inner > .q-field__control').type('Warehouse Two{enter}');
cy.get(saveBtn).click();
cy.checkNotification(dataError);
});
@ -24,7 +24,6 @@ describe('ZoneWarehouse', () => {
cy.fillInForm(data);
cy.get(saveBtn).click();
cy.get('.q-mt-lg > .q-btn--standard').click();
cy.get('tbody > :nth-child(2) > :nth-child(2) > .q-icon').click();
cy.get('[title="Confirm"]').click();