#8219 Added InvoiceOut e2e tests #1001
|
@ -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
|
||||
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
jsegarra
commented
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');
|
||||
});
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@ describe('InvoiceOut global invoicing', () => {
|
|||
|
||||
it('should invoice the client tickets', () => {
|
||||
jon marked this conversation as resolved
jsegarra
commented
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');
|
||||
|
|
Loading…
Reference in New Issue
revisate el archivo comands