chore(playwright): Rewrite password confirmation handler to avoid race conditions#62033
Conversation
512a907 to
19b831c
Compare
|
Just a thought: In the future this might be useful, if a test:
|
Yeah, that was being proposed from Claude as well and I think it should be handled that way either. But I didn't want to make such a fundamental change as it makes the "input/expect password here" being implicit instead of explicit when looking at the tests. There are good points for both ways IMHO. 😄 |
da1c1a2 to
fe8efc8
Compare
fe8efc8 to
32ff7fe
Compare
0ab5fb3 to
83f469c
Compare
Assisted-by: ClaudeCode:claude-opus-4.6[1M] Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
83f469c to
f91a6b1
Compare
Summary
The password confirmation handler on playwright is using a timeout on
isVisible. That is deprecated and isn't being considered anymore, which lead to several issues during our playwright tests (especially under high load on our CI runners).When that issue occurs, the following error can be seen in the playwright tests. The timeout was raised to 90 seconds here and the issue still happened, as the whole test just stuck because of the login never being done.
Checklist
3. to review, feature component)stable32)AI (if applicable)