0
0
Fork 0

Merge pull request 'fix: #8425 fixed zoneWarehouse e2e test not working' (!1304) from 8423-e2eZoneWarehouse into dev

Reviewed-on: verdnatura/salix-front#1304
Reviewed-by: Javier Segarra <jsegarra@verdnatura.es>
This commit is contained in:
PAU ROVIRA ROSALENY 2025-01-31 07:49:19 +00:00
commit bd2db2ef58
1 changed files with 3 additions and 4 deletions

View File

@ -14,17 +14,16 @@ describe('ZoneWarehouse', () => {
it('should throw an error if the warehouse chosen is already put in the zone', () => {
cy.addBtnClick();
cy.selectOption('[data-cy="Warehouse_select"]', 'Warehouse Two');
cy.dataCy('Warehouse_select').type('Warehouse Two{enter}');
cy.get(saveBtn).click();
cy.checkNotification(dataError);
});
// https://redmine.verdnatura.es/issues/8425
it.skip('should create & remove a warehouse', () => {
it('should create & remove a warehouse', () => {
cy.addBtnClick();
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();