iOS模拟器中出现强密码自动填充 [英] Strong password autofill appears in iOS simulator

查看:107
本文介绍了iOS模拟器中出现强密码自动填充的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的 UI 测试套件显示出一些意外行为,其中我们的创建密码"屏幕间歇性地自动完成用户名和密码 - 这会导致测试失败.

Our UI test suites are showing some unexpected behaviour where our Create Password screen intermittently auto-completes both the username and password - this results in the test being failed.

过程类似于:

  • 点击第一个创建密码字段
  • 输入密码
  • 点按确认密码字段
  • 输入相同的密码

最后一步失败,因为两个字段中的密码都已自动完成.

This last step fails because the passwords in both fields have been auto-completed.

这种情况发生在每 10 到 20 次测试执行中大约有一个.

This happens for about one in every ten to twenty test executions.

我们的理解是在任何模拟器中都不应该看到密码自动填充,所以看到这一点非常令人困惑.我们可以做些什么来额外禁用自动填充,或以其他方式防止这种情况发生?

Our understanding is that the password auto-fill should never be seen in any simulator, so it's very confusing to see this at all. Is there something that we can do to extra disable autofill, or otherwise prevent this from happening?

推荐答案

遇到了同样的问题.对我有用的是模拟器的设置 ->密码 ->打开然后关闭自动填充密码.

Had the same problem. What was useful for me is going to settings of the simulator -> Passwords -> Turn On and then Turn OFF AutoFill passwords.

这篇关于iOS模拟器中出现强密码自动填充的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆