refactor: refs #8600 modified make invoice and send dialog e2es
This commit is contained in:
parent
4a3bf83a36
commit
1b3592986f
|
@ -56,7 +56,12 @@ async function confirm() {
|
|||
{{ t('The notification will be sent to the following address') }}
|
||||
</QCardSection>
|
||||
<QCardSection class="q-pt-none">
|
||||
<VnInput v-model="address" is-outlined autofocus />
|
||||
<VnInput
|
||||
v-model="address"
|
||||
is-outlined
|
||||
autofocus
|
||||
data-cy="SendEmailNotifiactionDialogInput"
|
||||
/>
|
||||
</QCardSection>
|
||||
<QCardActions align="right">
|
||||
<QBtn :label="t('globals.cancel')" color="primary" flat v-close-popup />
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue