提交 afb47f36 编写于 作者: lizhongyi_'s avatar lizhongyi_

调整webview部分测试例

(cherry picked from commit de825a7f)
上级 a8d7362d
...@@ -100,10 +100,8 @@ describe('component-native-web-view', () => { ...@@ -100,10 +100,8 @@ describe('component-native-web-view', () => {
platformInfo.indexOf('13.7') != -1 || platformInfo.indexOf('13.7') != -1 ||
platformInfo.indexOf('12.4') != -1 platformInfo.indexOf('12.4') != -1
){ ){
it('ios 14.5 13.7 12.4 测试异常', () => {
expect(1).toBe(1) expect(1).toBe(1)
}) return
return
} }
expect(await page.data('eventLoading')).toEqual({ expect(await page.data('eventLoading')).toEqual({
"tagName": "WEB-VIEW", "tagName": "WEB-VIEW",
...@@ -169,10 +167,8 @@ describe('component-native-web-view', () => { ...@@ -169,10 +167,8 @@ describe('component-native-web-view', () => {
platformInfo.indexOf('13.7') != -1 || platformInfo.indexOf('13.7') != -1 ||
platformInfo.indexOf('12.4') != -1 platformInfo.indexOf('12.4') != -1
){ ){
it('ios 14.5 13.7 12.4 低版本设备不支持uts插件编译', () => {
expect(1).toBe(1) expect(1).toBe(1)
}) return
return
} }
await page.waitFor(300); await page.waitFor(300);
const has = await page.callMethod('checkNativeWebView') const has = await page.callMethod('checkNativeWebView')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册