-
Notifications
You must be signed in to change notification settings - Fork 106
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
Support --engine=slimerjs
when headless testing (Gecko)
#286
Comments
As running the tests via SlimerJS is easy, there seems to be a problem with The following throws an error run with SlimerJS:
|
Good findings. Any chance we can work around this by monkey patching |
I didn't come up with a quick and simple solution. It kind of feels like a problem with ExtJS or SlimerJS, too. Not sure which one though. As the tests work manually in the Firefox browser, I assume this to be a problem with the latter. In the docs they discribe the different handling of openURL() calls to PhantomJS, maybe thats a hint? |
I think that may be the issue. A simple timeout beforer actually conuing after the page opened may help. This all feels ugly, though. |
The problem seems to be that the headless tests are run via file:// protocol. This works with PhantomJS but not SlimerJS. I made some changes in #294. |
It'd be great if we could test gecko headlessly. SlimerJS integrates well with CasperJS, so we should see whether we can use it.
The text was updated successfully, but these errors were encountered: