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 81627b9dc850751cef269de607eae832314f79fc..7b31a6ed18b492adac4f184f9864fbec57651429 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(); });