Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Poltergeist raises TimeoutError randomly with CKEditor #461

Closed
mtsmfm opened this issue Mar 2, 2014 · 3 comments
Closed

Poltergeist raises TimeoutError randomly with CKEditor #461

mtsmfm opened this issue Mar 2, 2014 · 3 comments

Comments

@mtsmfm
Copy link
Contributor

mtsmfm commented Mar 2, 2014

Poltergeist raises TimeoutError randomly with CKEditor.

Following steps will reproduce the problem.

  1. click somewhere in page using CKEditor
  2. call some Poltergeist's methods (find, evaluate_script, etc)
  3. Poltergeist raises TimeoutError randomly

Please look at this repository.

As far as I have examined, Poltergeist raises TimeoutError if it with CKEditor gem or ckeditor-releases, but doesn't with ckeditor-dev (tested in this PR).
Perhaps, Poltergeist raises with minified CKEditor.

I wanted to identify the code that causes the problem, but really, it's seems difficult to me, sorry 😢

@thedelchop
Copy link
Contributor

I am unable to reproduce this using the example that you provided. Poltergeist works successfully each and every time. Can you set your :debug => true option for Poltergeist and post that here for us to look at?

@mtsmfm
Copy link
Contributor Author

mtsmfm commented Apr 20, 2014

This is log. https://gist.github.com/mtsmfm/11115928

This is reproduced in Linux, but perhaps not in OSX.
My colleague who uses OSX couldn't reproduce this problem.

@twalpole
Copy link
Contributor

From looking at the log this seems to have been a case where the responses got out of sync with the commands sent and therefore cause all sorts of weird behavior. The out of sync behavior was fixed in poltergeist 1.8.0 so hopefully this should be fixed. If it's not we can reopen

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

No branches or pull requests

3 participants