[Fixed]-Django Selenium test fails sometimes in Travis CI

1👍

It looks like your issue may be similar to what this fellow was running into. It’s perhaps an issue with your timeouts. You may want to use an explicit wait, or try waiting for a specific element to load before comparing the data. I had similar issues with my test where my Selenium test would try polling an image to see if it was present before the page had finished loading. Like I say, this may not be the same issue, but could potentially help. Goodluck!

👤Tyler

0👍

I just ran into this myself, and this is caused by the django’s built-in server not using python’s logging system. This has been fixed in 1.10 but is not released yet at the time of writing. In my case it is acceptable to leave the messages in the log until it is time to upgrade; better than adding timeouts and increasing build time.

Leave a comment