fix: refs #8219 fixed summary and global tests

This commit is contained in:
Jon Elias 2024-12-04 11:46:46 +01:00
parent 670c089125
commit 10ddae3534
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ describe('InvoiceOut summary', () => {
cy.get('#searchbar input').type('T1111111{enter}');
cy.get('[data-cy="descriptor-more-opts"] > .q-btn__content > .q-icon').click();
cy.get('.q-menu > .q-list > :nth-child(6)').click();
cy.dartaCy('VnConfirm_confirm').click();
cy.dataCy('VnConfirm_confirm').click();
cy.get(notification).should(
'contains.text',
'The invoice PDF document has been regenerated'
@ -39,7 +39,7 @@ describe('InvoiceOut summary', () => {
cy.get('#searchbar input').type('T2222222{enter}');
cy.get('[data-cy="descriptor-more-opts"] > .q-btn__content > .q-icon').click();
cy.get('.q-menu > .q-list > :nth-child(4)').click();
cy.dartaCy('VnConfirm_confirm').click();
cy.dataCy('VnConfirm_confirm').click();
cy.get(notification).should('contains.text', 'InvoiceOut deleted');
});

View File

@ -8,8 +8,8 @@ describe('InvoiceOut global invoicing', () => {
it('should invoice the client tickets', () => {
cy.get('.q-mb-sm > .q-radio__inner').click();
cy.dataCy('InvoiceOutGlobalClientSelect').type('1101');
cy.get('.q-menu .q-item').contains('1101').click();
cy.dataCy('InvoiceOutGlobalClientSelect').type('1102');
cy.get('.q-menu .q-item').contains('1102').click();
cy.dataCy('InvoiceOutGlobalSerialSelect').click();
cy.get('.q-menu .q-item').contains('global').click();
cy.dataCy('InvoiceOutGlobalCompanySelect').type('VNL');