Re: Selenium mess

2017-05-18 Thread XaviP
My experiences with django-selenium-Firefox were really painful. When 
finally switch to phantomjs, all was better, but from time to time, the 
tests still freeze in travis-ci. Hope it helps.

El dimecres, 17 maig de 2017 16:45:18 UTC+2, Antonis Christofides va 
escriure:
>
> Hi,
>
> I am the author of django-selenium-clean 
> .
> I'm happy I wrote extensive unit tests for it, which has made it much 
> easier to see what's up in various Python/Selenium/Browser combinations. 
> But I have some trouble and I was wondering whether there's any Selenium 
> expert who can help. Or if anyone knows where I could ask for help. Or if 
> anyone could just investigate and verify these findings and come up with 
> any ideas.
>
> Here's the situation (copied from the ticket 
> ):
>
>- Selenium 2.53, Firefox 45: Everything runs fine (but tests are run 
>twice, but this is probably not a Selenium issue). 
>- Selenium 2.53, Firefox 53: Browser opens, then nothing happens, 
>after a while testing terminates with an error. 
>- Selenium 3.4, Firefox 53: Browser opens, tests start. Two tests run 
>successfully, then it hangs. Maximizing the browser and restoring it to 
> the 
>original size may unhang it, and it may re-hang. It always hangs after a 
>test finishes and before another starts. Some tests fail, but it can't be 
>said whether it's a problem until the hanging is fixed. 
>
> The above behavior is with Python 3. With Python 2, the behavior is the 
> same, except that, in addition, if it manages to terminate properly (such 
> as in Selenium 2.53 and Firefox 45), the browser stays open and there's an 
> error message in the console.
> Regards,
>
> A.
>
> -- 
> Antonis Christofideshttp://djangodeployment.com
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d323e523-7645-4d00-9efd-56e3d6b0aae5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Selenium mess

2017-05-17 Thread Tim Graham
I haven't been able to run the selenium tests in Django's test suite 
without errors similar to what you describe since the geckodriver became 
required for testing with Firefox. I suspect this is a selenium/geckodriver 
issue rather than anything Django related. In the meantime, we're running 
the selenium tests with Google Chrome.

On Wednesday, May 17, 2017 at 10:45:18 AM UTC-4, Antonis Christofides wrote:
>
> Hi,
>
> I am the author of django-selenium-clean 
> .
> I'm happy I wrote extensive unit tests for it, which has made it much 
> easier to see what's up in various Python/Selenium/Browser combinations. 
> But I have some trouble and I was wondering whether there's any Selenium 
> expert who can help. Or if anyone knows where I could ask for help. Or if 
> anyone could just investigate and verify these findings and come up with 
> any ideas.
>
> Here's the situation (copied from the ticket 
> ):
>
>- Selenium 2.53, Firefox 45: Everything runs fine (but tests are run 
>twice, but this is probably not a Selenium issue). 
>- Selenium 2.53, Firefox 53: Browser opens, then nothing happens, 
>after a while testing terminates with an error. 
>- Selenium 3.4, Firefox 53: Browser opens, tests start. Two tests run 
>successfully, then it hangs. Maximizing the browser and restoring it to 
> the 
>original size may unhang it, and it may re-hang. It always hangs after a 
>test finishes and before another starts. Some tests fail, but it can't be 
>said whether it's a problem until the hanging is fixed. 
>
> The above behavior is with Python 3. With Python 2, the behavior is the 
> same, except that, in addition, if it manages to terminate properly (such 
> as in Selenium 2.53 and Firefox 45), the browser stays open and there's an 
> error message in the console.
> Regards,
>
> A.
>
> -- 
> Antonis Christofideshttp://djangodeployment.com
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bc77f2ae-99bf-4b01-a155-8a6df1559480%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Selenium mess

2017-05-17 Thread Antonis Christofides
Hi,

I am the author of django-selenium-clean
.

I'm happy I wrote extensive unit tests for it, which has made it much easier to
see what's up in various Python/Selenium/Browser combinations. But I have some
trouble and I was wondering whether there's any Selenium expert who can help. Or
if anyone knows where I could ask for help. Or if anyone could just investigate
and verify these findings and come up with any ideas.

Here's the situation (copied from the ticket
):

  * Selenium 2.53, Firefox 45: Everything runs fine (but tests are run twice,
but this is probably not a Selenium issue).
  * Selenium 2.53, Firefox 53: Browser opens, then nothing happens, after a
while testing terminates with an error.
  * Selenium 3.4, Firefox 53: Browser opens, tests start. Two tests run
successfully, then it hangs. Maximizing the browser and restoring it to the
original size may unhang it, and it may re-hang. It always hangs after a
test finishes and before another starts. Some tests fail, but it can't be
said whether it's a problem until the hanging is fixed.

The above behavior is with Python 3. With Python 2, the behavior is the same,
except that, in addition, if it manages to terminate properly (such as in
Selenium 2.53 and Firefox 45), the browser stays open and there's an error
message in the console.

Regards,

A.

-- 
Antonis Christofides
http://djangodeployment.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b4d85ba7-5607-28de-c2db-b84a7d50f142%40djangodeployment.com.
For more options, visit https://groups.google.com/d/optout.