feat: refs #8220 added barcodes e2e test
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
732683c340
commit
c2a09868a1
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue