fix: refs #6695 zoneWarehouse est
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-19 14:08:10 +01:00
parent a2216571b6
commit 46f7cd41fd
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ describe('ZoneWarehouse', () => {
Warehouse: { val: 'Warehouse One', type: 'select' }, Warehouse: { val: 'Warehouse One', type: 'select' },
}; };
const dataError = 'ER_DUP_ENTRY: Duplicate entry'; const dataError = 'The introduced warehouse already exists';
const saveBtn = '.q-btn--standard > .q-btn__content > .block'; const saveBtn = '.q-btn--standard > .q-btn__content > .block';
beforeEach(() => { beforeEach(() => {
@ -18,7 +18,7 @@ describe('ZoneWarehouse', () => {
cy.get(saveBtn).click(); cy.get(saveBtn).click();
cy.checkNotification(dataError); cy.checkNotification(dataError);
}); });
it('should create & remove a warehouse', () => { it('should create & remove a warehouse', () => {
cy.addBtnClick(); cy.addBtnClick();
cy.fillInForm(data); cy.fillInForm(data);