提交 02ff8d6d 编写于 作者: M mahaifeng

[audio]音频自动化测试用例

上级 9c40254a
......@@ -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();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册