fix: refs #8219 requested changes
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jon Elias 2024-12-04 12:26:04 +01:00
parent 248288fd89
commit cb1f717fe0
2 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ describe('InvoiceOut manual invoice', () => {
});
it('should create an invoice from a ticket and go to that invoice', () => {
cy.get('[label="Customer ID"]').type('1101{enter}');
cy.searchByLabel('Customer ID', '1101');
cy.get(
'[data-q-vs-anchor=""] > :nth-child(1) > .q-checkbox > .q-checkbox__inner'
).click();

View File

@ -15,7 +15,7 @@ describe('InvoiceOut summary', () => {
it('should generate the invoice PDF', () => {
cy.get('#searchbar input').type('T1111111{enter}');
cy.get('[data-cy="descriptor-more-opts"] > .q-btn__content > .q-icon').click();
cy.dataCy('descriptor-more-opts').click();
cy.get('.q-menu > .q-list > :nth-child(6)').click();
cy.dataCy('VnConfirm_confirm').click();
cy.get(notification).should(
@ -26,7 +26,7 @@ describe('InvoiceOut summary', () => {
it('should refund the invoice ', () => {
cy.get('#searchbar input').type('T1111111{enter}');
cy.get('[data-cy="descriptor-more-opts"] > .q-btn__content > .q-icon').click();
cy.get('descriptor-more-opts').click();
cy.get('.q-menu > .q-list > :nth-child(7)').click();
cy.get('#q-portal--menu--3 > .q-menu > .q-list > :nth-child(2)').click();
cy.get(notification).should(
@ -37,7 +37,7 @@ describe('InvoiceOut summary', () => {
it('should delete an invoice ', () => {
cy.get('#searchbar input').type('T2222222{enter}');
cy.get('[data-cy="descriptor-more-opts"] > .q-btn__content > .q-icon').click();
cy.dataCy('descriptor-more-opts').click();
cy.get('.q-menu > .q-list > :nth-child(4)').click();
cy.dataCy('VnConfirm_confirm').click();
cy.get(notification).should('contains.text', 'InvoiceOut deleted');
@ -45,7 +45,7 @@ describe('InvoiceOut summary', () => {
it('should transfer the invoice ', () => {
cy.get('#searchbar input').type('T1111111{enter}');
cy.get('[data-cy="descriptor-more-opts"] > .q-btn__content > .q-icon').click();
cy.dataCy('descriptor-more-opts').click();
cy.get('.q-menu > .q-list > :nth-child(1)').click();
cy.fillInForm(transferInvoice);
cy.get('.q-mt-lg > .q-btn').click();