提交 9c5d6c40 编写于 作者: M mahaifeng

[audio]修改asset路径

上级 d01a18fb
......@@ -83,7 +83,7 @@ describe('inner-audio', () => {
await page.setData({
isPlayEnd: false
})
await page.callMethod('setSrc','/static/uni-autoTest/alert2s.mp3')
await page.callMethod('setSrc','file:///android_asset/uni-autoTest/alert2s.mp3')
await page.waitFor(3000);
expect(await page.data('isPlayEnd')).toBeTruthy();
});
......
......@@ -1490,7 +1490,7 @@ describe('ExtApi-FileManagerTest', () => {
}
await page.setData({
basePath: '/static/uni-app-x/version.json',
basePath: 'file:///android_asset/uni-app-x',
logAble: false,
readFileRet: "",
readFile: '/version.json'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册