提交 1a89fdef 编写于 作者: D dongxinli

修改权限弹框

Signed-off-by: Ndongxinli <dongxinli@huawei.com>
上级 826e4d2d
...@@ -68,7 +68,7 @@ export default function RecorderLocalTestAudioFUNC() { ...@@ -68,7 +68,7 @@ export default function RecorderLocalTestAudioFUNC() {
let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4]; let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4];
await mediaTestBase.getPermission(permissionNames); await mediaTestBase.getPermission(permissionNames);
await mediaTestBase.msleepAsync(2000); await mediaTestBase.msleepAsync(2000);
await mediaTestBase.driveFn(2); await mediaTestBase.driveFn(3);
console.info('beforeAll case'); console.info('beforeAll case');
}) })
......
...@@ -70,7 +70,7 @@ export default function avRecorderTest() { ...@@ -70,7 +70,7 @@ export default function avRecorderTest() {
let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4]; let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4];
await mediaTestBase.getPermission(permissionNames); await mediaTestBase.getPermission(permissionNames);
await mediaTestBase.msleepAsync(2000); await mediaTestBase.msleepAsync(2000);
await mediaTestBase.driveFn(2) await mediaTestBase.driveFn(3)
console.info('beforeAll out'); console.info('beforeAll out');
}) })
......
...@@ -67,7 +67,7 @@ describe('AudioRecorderFormatCompatibilityTest', function () { ...@@ -67,7 +67,7 @@ describe('AudioRecorderFormatCompatibilityTest', function () {
let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4]; let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4];
await mediaTestBase.getPermission(permissionNames); await mediaTestBase.getPermission(permissionNames);
await mediaTestBase.msleepAsync(2000); await mediaTestBase.msleepAsync(2000);
await mediaTestBase.driveFn(2); await mediaTestBase.driveFn(3);
console.info('beforeAll case'); console.info('beforeAll case');
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册