refs #4466 fix e2e
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2023-03-08 11:35:09 +01:00
parent 7568a5f47f
commit ba3e961942
2 changed files with 3 additions and 3 deletions

View File

@ -2831,4 +2831,4 @@ INSERT INTO `vn`.`cplusRectificationType` (`id`, `description`)
INSERT INTO `vn`.`invoiceInCorrection` (`correctingFk`, `correctedFk`, `cplusRectificationTypeFk`, `cplusInvoiceType477Fk`, `invoiceCorrectionTypeFk`) INSERT INTO `vn`.`invoiceInCorrection` (`correctingFk`, `correctedFk`, `cplusRectificationTypeFk`, `cplusInvoiceType477Fk`, `invoiceCorrectionTypeFk`)
VALUES VALUES
(1, 2, 1, 1, 1); (2, 3, 1, 1, 1);

View File

@ -9,7 +9,7 @@ describe('InvoiceIn correction path', () => {
browser = await getBrowser(); browser = await getBrowser();
page = browser.page; page = browser.page;
await page.loginAndModule('administrative', 'invoiceIn'); await page.loginAndModule('administrative', 'invoiceIn');
await page.accessToSearchResult('1'); await page.accessToSearchResult('2');
}); });
afterAll(async() => { afterAll(async() => {
@ -21,7 +21,7 @@ describe('InvoiceIn correction path', () => {
await page.waitToClick(selectors.invoiceInDescriptor.correctedInvoice); await page.waitToClick(selectors.invoiceInDescriptor.correctedInvoice);
const result = await page.waitToGetProperty(selectors.invoiceInDescriptor.supplierRef, 'innerText'); const result = await page.waitToGetProperty(selectors.invoiceInDescriptor.supplierRef, 'innerText');
expect(result).toContain('1235'); expect(result).toContain('1236');
await page.waitToClick(selectors.invoiceInDescriptor.originInvoice); await page.waitToClick(selectors.invoiceInDescriptor.originInvoice);
}); });