提交 89582136 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新video自动化测试用例

上级 ec97e66b
......@@ -15,15 +15,15 @@ describe('component-native-video', () => {
return (await page.data('isPlaying')) == true;
});
// requestFullScreen
await page.callMethod('requestFullScreen', null);
await page.waitFor(async () => {
return (await page.data('isFullScreen')) == true;
});
// await page.callMethod('requestFullScreen', null);
// await page.waitFor(async () => {
// return (await page.data('isFullScreen')) == true;
// });
// exitFullScreen
await page.callMethod('exitFullScreen');
await page.waitFor(async () => {
return (await page.data('isFullScreen')) == false;
});
// await page.callMethod('exitFullScreen');
// await page.waitFor(async () => {
// return (await page.data('isFullScreen')) == false;
// });
// pause
await page.callMethod('pause');
await page.waitFor(async () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册