#8581 invoiceIn e2e #1452

Merged
jorgep merged 153 commits from 8581-invoiceinE2e into dev 2025-03-20 08:58:01 +00:00
2 changed files with 7 additions and 3 deletions
Showing only changes of commit f2c4e2c0c1 - Show all commits

View File

@ -1,6 +1,6 @@
#!/bin/bash
find 'test/cypress/integration/invoiceIn' \
find 'test/cypress/integration' \
-mindepth 1 \
-maxdepth 1 \
-type d | \

View File

@ -43,10 +43,10 @@ describe('InvoiceInBasicData', () => {
supplierRef: '1234',
serial: 'R',
supplierFk: 1,
issued: new Date(Date.UTC(2001, 0, 1, 11)),
issued: getVnNew(),
companyFk: 442,
docFk: 1,
bookEntried: new Date(Date.UTC(2001, 0, 1, 11)),
bookEntried: getVnNew(),
currencyFk: 1,
operated: null,
booked: null,
@ -86,3 +86,7 @@ describe('InvoiceInBasicData', () => {
cy.checkNotification('Data saved');
});
});
function getVnNew() {
return new Date(Date.UTC(2001, 0, 1, 11));
}