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

This commit is contained in:
Alex Moreno 2025-02-10 10:40:21 +01:00
parent 6fe67e847b
commit b8b7af6907
2 changed files with 11 additions and 11 deletions

View File

@ -21,15 +21,15 @@ export default defineConfig({
video: false,
specPattern: [
'test/cypress/integration/entry/stockBought.spec.js',
// 'test/cypress/integration/invoiceOut/invoiceOutNegativeBases.js',
// 'test/cypress/integration/invoiceOut/invoiceOutMakeInvoice.spec.js',
// 'test/cypress/integration/item/itemTag.spec.js',
// 'test/cypress/integration/route/routeList.spec.js',
// 'test/cypress/integration/ticket/ticketList.spec.js',
// 'test/cypress/integration/ticket/ticketSale.spec.js',
// 'test/cypress/integration/vnComponent/UserPanel.spec.js',
// 'test/cypress/integration/vnComponent/VnLocation.spec.js',
// 'test/cypress/integration/worker/workerNotificationsManager.spec.js',
'test/cypress/integration/invoiceOut/invoiceOutNegativeBases.js',
'test/cypress/integration/invoiceOut/invoiceOutMakeInvoice.spec.js',
'test/cypress/integration/item/itemTag.spec.js',
'test/cypress/integration/route/routeList.spec.js',
'test/cypress/integration/ticket/ticketList.spec.js',
'test/cypress/integration/ticket/ticketSale.spec.js',
'test/cypress/integration/vnComponent/UserPanel.spec.js',
'test/cypress/integration/vnComponent/VnLocation.spec.js',
'test/cypress/integration/worker/workerNotificationsManager.spec.js',
],
experimentalRunAllSpecs: true,
watchForFileChanges: true,

View File

@ -8,7 +8,7 @@ describe('EntryStockBought', () => {
cy.get('.q-field__native.q-placeholder').should('have.value', '01/01/2001');
cy.get('input[name="reserve"]').type('10{enter}');
cy.get('button[title="Save"]').click();
cy.get('.q-notification__message').should('have.text', 'Data saved');
cy.checkNotification('Data saved');
});
it('Should add a new reserved space for buyerBoss', () => {
cy.addBtnClick();
@ -17,7 +17,7 @@ describe('EntryStockBought', () => {
cy.get('input[aria-label="Date"]').eq(1).type('01-01-2001');
cy.selectOption('input[aria-label="Buyer"]', 'buyerboss');
cy.get('#formModel button[title="Save"]').click();
cy.get('.q-notification__message').should('have.text', 'Data created');
cy.checkNotification('Data created');
});
it('Should check detail for the buyer', () => {
cy.get(':nth-child(1) > .sticky > .q-btn > .q-btn__content > .q-icon').click();