fix: refs #8219 fixed summary and global tests
This commit is contained in:
parent
670c089125
commit
10ddae3534
|
@ -17,7 +17,7 @@ describe('InvoiceOut summary', () => {
|
||||||
cy.get('#searchbar input').type('T1111111{enter}');
|
cy.get('#searchbar input').type('T1111111{enter}');
|
||||||
cy.get('[data-cy="descriptor-more-opts"] > .q-btn__content > .q-icon').click();
|
cy.get('[data-cy="descriptor-more-opts"] > .q-btn__content > .q-icon').click();
|
||||||
cy.get('.q-menu > .q-list > :nth-child(6)').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(
|
cy.get(notification).should(
|
||||||
'contains.text',
|
'contains.text',
|
||||||
'The invoice PDF document has been regenerated'
|
'The invoice PDF document has been regenerated'
|
||||||
|
@ -39,7 +39,7 @@ describe('InvoiceOut summary', () => {
|
||||||
cy.get('#searchbar input').type('T2222222{enter}');
|
cy.get('#searchbar input').type('T2222222{enter}');
|
||||||
cy.get('[data-cy="descriptor-more-opts"] > .q-btn__content > .q-icon').click();
|
cy.get('[data-cy="descriptor-more-opts"] > .q-btn__content > .q-icon').click();
|
||||||
cy.get('.q-menu > .q-list > :nth-child(4)').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');
|
cy.get(notification).should('contains.text', 'InvoiceOut deleted');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@ describe('InvoiceOut global invoicing', () => {
|
||||||
|
|
||||||
it('should invoice the client tickets', () => {
|
it('should invoice the client tickets', () => {
|
||||||
cy.get('.q-mb-sm > .q-radio__inner').click();
|
cy.get('.q-mb-sm > .q-radio__inner').click();
|
||||||
cy.dataCy('InvoiceOutGlobalClientSelect').type('1101');
|
cy.dataCy('InvoiceOutGlobalClientSelect').type('1102');
|
||||||
cy.get('.q-menu .q-item').contains('1101').click();
|
cy.get('.q-menu .q-item').contains('1102').click();
|
||||||
cy.dataCy('InvoiceOutGlobalSerialSelect').click();
|
cy.dataCy('InvoiceOutGlobalSerialSelect').click();
|
||||||
cy.get('.q-menu .q-item').contains('global').click();
|
cy.get('.q-menu .q-item').contains('global').click();
|
||||||
cy.dataCy('InvoiceOutGlobalCompanySelect').type('VNL');
|
cy.dataCy('InvoiceOutGlobalCompanySelect').type('VNL');
|
||||||
|
|
Loading…
Reference in New Issue