multiparty / web-mpc

Platform for deploying web-based privacy-preserving data surveys using secure multi-party computation (MPC).
https://www.multiparty.org
MIT License
54 stars 22 forks source link

Test sometimes fail #184

Closed gxavier38 closed 3 years ago

gxavier38 commented 3 years ago

Selenium tests occasionally fail silently. Testing manually works fine. The server doesn't log the POST requests from the tests, so this might be an issue with the generate button click.

gxavier38 commented 3 years ago

Looks like error messages are being hidden. Now getting StaleElementReferenceError: stale element reference: element is not attached to the page document for sessionField and passwordField

gxavier38 commented 3 years ago

It looks like some race condition between when divs are added to the DOM and when Selenium interacts with them. I can't reproduce it consistently. Fixed temporarily by sleeping before Selenium starts interacting.

Closing for now.