From bef962a18d04969d1a24cc10fa57c4cbae8fe8df Mon Sep 17 00:00:00 2001 From: jixinbao Date: Wed, 29 May 2024 11:53:19 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=BB=B6=E8=BF=9F=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=BA=8B=E4=BB=B6=E6=B5=8B=E8=AF=95=EF=BC=8C?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E6=9C=89=E5=8A=A8=E7=94=BB=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/checkbox/checkbox.test.js | 1 + pages/component/radio/radio.test.js | 1 + 2 files changed, 2 insertions(+) diff --git a/pages/component/checkbox/checkbox.test.js b/pages/component/checkbox/checkbox.test.js index 68231ce5..6a4ff401 100644 --- a/pages/component/checkbox/checkbox.test.js +++ b/pages/component/checkbox/checkbox.test.js @@ -78,6 +78,7 @@ describe('Checkbox.uvue', () => { it('trigger UniCheckboxGroupChangeEvent', async () => { const element = await page.$('.checkbox-item-0') await element.tap() + await page.waitFor(500) const eventCallbackNum = await page.callMethod('getEventCallbackNum') expect(eventCallbackNum - originEventCallbackNum).toBe(3) }) diff --git a/pages/component/radio/radio.test.js b/pages/component/radio/radio.test.js index baa7ec15..276091b0 100644 --- a/pages/component/radio/radio.test.js +++ b/pages/component/radio/radio.test.js @@ -73,6 +73,7 @@ describe('Radio.uvue', () => { it('trigger UniRadioGroupChangeEvent', async () => { const element = await page.$('#trigger-change') await element.tap() + await page.waitFor(500) const eventCallbackNum = await page.callMethod('getEventCallbackNum') expect(eventCallbackNum - originEventCallbackNum).toBe(3) }) -- GitLab