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.
The process is something like:
This last step fails because the passwords in both fields have been auto-completed.
This happens for about one in every ten to twenty test executions.
Our …
我正在构建的网站的组件要求用户以一种形式输入唯一代码,然后通过将其与数百万个生成代码的预定列表进行比较,将其验证为有效代码.我该怎么做才能为用户提供即时反馈?
最初我计划在一夜之间检查批处理作业中的所有提交,但客户希望用户立即获知他们是否有有效代码.
构建trie结构,将生成的代码存储在数据库表中,还是使用其他方法更有效?