Skip to content
代码片段 群组 项目
提交 971484ac 编辑于 作者: Eduardo Sanz García's avatar Eduardo Sanz García
浏览文件

Fix two racing conditions related to JavaScript

When JavaScript is enabled, the password field is replaced by a Vue
component (has a eye icon button to toggle the visibility). Sometimes
test don't pass because the password is added to the password field and
then replaced by the Vue component.

Fixed another issue for WebAuthn, where clicking `Sign in via 2FA code`
doesn't enables to enter the verification code because the JQuery
functionality has not yet been initialized.

Fixed both issue by waiting to find elements or selectors that only
happens when the JavaScript is ready.
上级 5fe8dea3
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册