forked from verdnatura/salix-front
fix: refs #8423 removed data-cy usage
This commit is contained in:
parent
7748df1384
commit
95f96d7ebd
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue