refactor(e2e): added waitForTimeout
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
e6899d50c3
commit
23a01a8e59
|
@ -38,6 +38,7 @@ describe('Item regularize path', () => {
|
|||
});
|
||||
|
||||
it('should open the regularize dialog and check the warehouse matches the local user settings', async() => {
|
||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
||||
await page.waitToClick(selectors.itemDescriptor.moreMenu);
|
||||
await page.waitToClick(selectors.itemDescriptor.moreMenuRegularizeButton);
|
||||
const result = await page.waitToGetProperty(selectors.itemDescriptor.regularizeWarehouse, 'value');
|
||||
|
|
|
@ -18,6 +18,7 @@ describe('InvoiceOut manual invoice path', () => {
|
|||
it('should open the manual invoice form', async() => {
|
||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
||||
await page.waitToClick(selectors.invoiceOutIndex.createInvoice);
|
||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
||||
await page.waitToClick(selectors.invoiceOutIndex.createManualInvoice);
|
||||
await page.waitForSelector(selectors.invoiceOutIndex.manualInvoiceForm);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue