diff --git a/src/components/common/SendEmailDialog.vue b/src/components/common/SendEmailDialog.vue index d731339218..254eb9cf9d 100644 --- a/src/components/common/SendEmailDialog.vue +++ b/src/components/common/SendEmailDialog.vue @@ -56,7 +56,12 @@ async function confirm() { {{ t('The notification will be sent to the following address') }} - + diff --git a/test/cypress/integration/invoiceOut/invoiceOutMakeInvoice.spec.js b/test/cypress/integration/invoiceOut/invoiceOutMakeInvoice.spec.js index 73d26d8fcd..4c334bce35 100644 --- a/test/cypress/integration/invoiceOut/invoiceOutMakeInvoice.spec.js +++ b/test/cypress/integration/invoiceOut/invoiceOutMakeInvoice.spec.js @@ -16,6 +16,11 @@ describe('InvoiceOut manual invoice', () => { cy.checkNotification('Data saved'); cy.get('.q-virtual-scroll__content > :nth-child(1) > :nth-child(3)').click(); cy.get(':nth-child(8) > .value > .link').click(); - cy.get('.header > :nth-child(3) > .q-btn__content').click(); + cy.get('.q-menu > .descriptor > .header').should('be.visible'); + cy.get( + '.q-menu > .descriptor > .header > [data-cy="descriptor-more-opts"] > .q-btn__content', + ).click(); + cy.get('[data-cy="descriptor-more-opts-menu"] > .q-list > :nth-child(4)').click(); + cy.dataCy('VnConfirm_confirm').click(); }); }); diff --git a/test/cypress/integration/invoiceOut/invoiceOutSummary.spec.js b/test/cypress/integration/invoiceOut/invoiceOutSummary.spec.js index 5114e6e3bb..a3d4ccac0b 100644 --- a/test/cypress/integration/invoiceOut/invoiceOutSummary.spec.js +++ b/test/cypress/integration/invoiceOut/invoiceOutSummary.spec.js @@ -33,6 +33,7 @@ describe('InvoiceOut summary', () => { it('should open the ticket list', () => { cy.dataCy('invoiceOutDescriptorTicketList').click(); + cy.get('#filterPanelForm').should('be.visible'); cy.dataCy('vnFilterPanelChip').should('include.text', 'T1111111'); }); @@ -49,6 +50,7 @@ describe('InvoiceOut summary', () => { cy.dataCy('descriptor-more-opts').click(); cy.get(selectMenuOption(3)).click(); cy.dataCy('InvoiceOutDescriptorMenuSendPdfOption').click(); + cy.dataCy('SendEmailNotifiactionDialogInput').should('be.visible'); cy.get(confirmSend).click(); cy.checkNotification('Notification sent'); }); @@ -57,6 +59,7 @@ describe('InvoiceOut summary', () => { cy.dataCy('descriptor-more-opts').click(); cy.get(selectMenuOption(3)).click(); cy.dataCy('InvoiceOutDescriptorMenuSendCsvOption').click(); + cy.dataCy('SendEmailNotifiactionDialogInput').should('be.visible'); cy.get(confirmSend).click(); cy.checkNotification('Notification sent'); });