diff --git a/pages/API/request-payment/reqeust-payment.test.js b/pages/API/request-payment/reqeust-payment.test.js index f4edc6560198de7807f06033fa1e44be7b1eae61..8430965275fa8a5bf6902941ed0255d4886c34ca 100644 --- a/pages/API/request-payment/reqeust-payment.test.js +++ b/pages/API/request-payment/reqeust-payment.test.js @@ -2,7 +2,7 @@ const PAGE_PATH = "/pages/API/request-payment/request-payment"; describe("payment", () => { - if (process.env.uniTestPlatformInfo.indexOf('web') > -1) { + if (process.env.uniTestPlatformInfo.indexOf('web') > -1 || process.env.UNI_AUTOMATOR_APP_WEBVIEW === 'true') { it('web', () => { expect(1).toBe(1) }) diff --git a/pages/component/list-view/list-view-children-in-slot.test.js b/pages/component/list-view/list-view-children-in-slot.test.js index cf7a49c58f35e496b3d434d14e1513c95c879e4b..7c48374a725fdd9a0e9f3d9f52201d932d51c49c 100644 --- a/pages/component/list-view/list-view-children-in-slot.test.js +++ b/pages/component/list-view/list-view-children-in-slot.test.js @@ -22,6 +22,7 @@ describe('list-view-children-in-slot', () => { const addBtn = await page.$('#add-btn') await addBtn.tap() + await page.waitFor(500) listItems = await page.$$('list-item') expect(listItems.length).toBe(11) @@ -33,12 +34,12 @@ describe('list-view-children-in-slot', () => { const emptyBtn = await page.$('#empty-btn') await emptyBtn.tap() - + await page.waitFor(500) listItems = await page.$$('list-item') expect(listItems.length).toBe(3) await addBtn.tap() - + await page.waitFor(500) listItems = await page.$$('list-item') expect(listItems.length).toBe(5)