Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test sometimes fail #184

Closed
gxavier38 opened this issue Jun 29, 2021 · 2 comments
Closed

Test sometimes fail #184

gxavier38 opened this issue Jun 29, 2021 · 2 comments

Comments

@gxavier38
Copy link
Member

gxavier38 commented Jun 29, 2021

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 gxavier38 changed the title Test don't work right after server startup Test sometimes fail Jun 29, 2021
@gxavier38
Copy link
Member Author

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
Copy link
Member Author

gxavier38 commented Jul 7, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant