From 1ad45bff15b5d75fd149704dd5f5a6e22b1a6c36 Mon Sep 17 00:00:00 2001 From: mahaifeng Date: Wed, 20 Nov 2024 12:52:53 +0800 Subject: [PATCH] =?UTF-8?q?[audio]=E9=9F=B3=E9=A2=91=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../create-inner-audio-context.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/API/create-inner-audio-context/create-inner-audio-context.test.js b/pages/API/create-inner-audio-context/create-inner-audio-context.test.js index 81627b9d..7b31a6ed 100644 --- a/pages/API/create-inner-audio-context/create-inner-audio-context.test.js +++ b/pages/API/create-inner-audio-context/create-inner-audio-context.test.js @@ -84,6 +84,7 @@ describe('inner-audio', () => { isPlayEnd: false }) await page.callMethod('setSrc','file:///android_asset/uni-autoTest/alert2s.mp3') + await page.callMethod('play') await page.waitFor(3000); expect(await page.data('isPlayEnd')).toBeTruthy(); }); -- GitLab