#8600: Added and modified E2E #1447

Merged
jon merged 42 commits from 8600-CreateZoneE2E into dev 2025-03-06 11:16:39 +00:00
3 changed files with 15 additions and 2 deletions
Showing only changes of commit 1b3592986f - Show all commits

View File

@ -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 />

View File

@ -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();
});
});

View File

@ -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');
Outdated
Review
    cy.get('[data-col-field="stateFk"]').each(($el) => {
        cy.wrap($el).contains('T1111111');
    });
cy.get('[data-col-field="stateFk"]').each(($el) => { cy.wrap($el).contains('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');
});