提交 507ff33c 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

feat: Input增加测试例

上级 b73aefb1
......@@ -163,6 +163,15 @@ describe('component-native-input', () => {
})
})
it("password and value order", async () => {
const input = await page.$('#uni-input-password');
let length = (await input.attribute("value")).length
expect(length).toBe(6)
await page.setData({
inputPasswordValue: ""
})
})
it("afterAllTestScreenshot", async () => {
const image = await program.screenshot({
fullPage: true
......
......@@ -267,7 +267,7 @@
inputMaxLengthValue: "",
onMaxLengthInputValue: "",
inputMaxLengthFocus: false,
inputPasswordValue: "",
inputPasswordValue: "cipher",
inputFocusKeyBoardChangeValue: true,
holdKeyboard: false,
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册