#8219 Added InvoiceOut e2e tests #1001

Merged
jon merged 24 commits from 8219-InvoiceOutE2E into dev 2025-01-08 06:41:33 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 10ddae3534 - Show all commits

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();
jon marked this conversation as resolved Outdated

revisate el archivo comands

revisate el archivo comands
cy.get('.q-menu > .q-list > :nth-child(6)').click();
cy.dartaCy('VnConfirm_confirm').click();
cy.dataCy('VnConfirm_confirm').click();
jon marked this conversation as resolved Outdated

Esto me hace pensar que nos has tirado los tests 🚩

Esto me hace pensar que nos has tirado los tests 🚩
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', () => {
jon marked this conversation as resolved
Review

Esto lo haces por evitar usar fillInForm?

Esto lo haces por evitar usar fillInForm?
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');