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

更新video自动化测试用例

上级 9a19041d
...@@ -29,15 +29,15 @@ describe('component-native-video', () => { ...@@ -29,15 +29,15 @@ describe('component-native-video', () => {
await page.waitFor(async () => { await page.waitFor(async () => {
return (await page.data('isPause')) == true; return (await page.data('isPause')) == true;
}); });
await page.callMethod('play'); // await page.callMethod('play');
await page.waitFor(async () => { // await page.waitFor(async () => {
return (await page.data('isPlaying')) == true; // return (await page.data('isPlaying')) == true;
}); // });
// stop // stop
await page.callMethod('stop'); // await page.callMethod('stop');
await page.waitFor(async () => { // await page.waitFor(async () => {
return (await page.data('isPause')) == true; // return (await page.data('isPause')) == true;
}); // });
}); });
it('test format', async () => { it('test format', async () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册