提交 9a0e41b8 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test(input): 放开 android 端测试

上级 d4b08c9f
......@@ -150,7 +150,7 @@ describe('component-native-input', () => {
it("maxlength", async () => {
const input = await page.$('#uni-input-maxlength');
let str = "";
for(let i = 0;i < 200;i++){
for (let i = 0; i < 200; i++) {
str += `${i}`
}
await page.setData({
......@@ -196,7 +196,7 @@ describe('component-native-input', () => {
//reset
await page.setData({
focusedForKeyboardHeightChangeTest: false,
keyboardHeight:0
keyboardHeight: 0
})
})
......@@ -206,11 +206,8 @@ describe('component-native-input', () => {
})
expect(image).toSaveImageSnapshot()
})
if (!process.env.uniTestPlatformInfo.startsWith('android')) {
// TODO: 暂时规避 android 端测试
it('both set modelValue and value', async()=>{
it('both set modelValue and value', async () => {
const input2 = await page.$('#both-model-value');
expect(await input2.value()).toEqual("123")
})
}
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册