#8448 - devToTest #1254

Merged
alexm merged 365 commits from 8448-devToTest into test 2025-01-21 10:44:46 +00:00
1 changed files with 6 additions and 5 deletions
Showing only changes of commit c2a09868a1 - Show all commits

View File

@ -12,9 +12,9 @@ describe('Item shelving', () => {
cy.get('.q-card > .q-btn > .q-btn__content > .q-icon').click();
cy.get(
':nth-child(4) > div.full-width > .q-field > .q-field__inner > .q-field__control > .q-field__control-container > [data-cy="Code_input"]'
).type('1111111111{enter}');
// cuando se haga merge del arreglo de items acabar esto para que muestre error
// cy.checkNotification('Data created');
).type('1111111111');
cy.dataCy('crudModelDefaultSaveBtn').click();
cy.checkNotification('Codes can not be repeated');
});
it('should create a new barcode', () => {
@ -22,7 +22,8 @@ describe('Item shelving', () => {
cy.get('.q-card > .q-btn > .q-btn__content > .q-icon').click();
cy.get(
':nth-child(4) > div.full-width > .q-field > .q-field__inner > .q-field__control > .q-field__control-container > [data-cy="Code_input"]'
).type('1212121212{enter}');
// cy.checkNotification('Data created');
).type('1231231231');
cy.dataCy('crudModelDefaultSaveBtn').click();
cy.checkNotification('Data saved');
});
});