-
Notifications
You must be signed in to change notification settings - Fork 5
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
akephalos-0.2.5 -> akephalos2-2.0.7 error #20
Comments
Building ffi with native extensions fails to me. I am using 1.9.3dev. I am going to install 1.9.2p180 and see if that's the issue. |
Mmm, the test are passing to me. Check that you have this on your Gemfile gem 'akephalos2', '2.0.8', :require => 'akephalos' |
Hold on, I ran the test without using bundle exec. If I use it then it fails. Let see, let see :) |
Also reproducible with the last version of https://github.com/Nerian/akephalos |
Got it!! I have run your app with different revisions of akephalos and the one where the failure start to happen is this one: But what was introduced with that commit is nothing more and nothing less that updating HTMLUnit from 2.8 to 2.9. So the problem lies in the dirty insides of HTMLUnit. |
Possibly related: http://sourceforge.net/tracker/?func=detail&aid=3072010&group_id=47038&atid=448266 Seems like an old unsolved problem. We use HTMLUnit 2.10. |
Totally confirmed that is a HTMLUnit issue. I tested the most updated code base of akephalos2 with HTMLUnit 2.8 and it pass your test. Alas, it broke one capybara test: Capybara::Session with akephalos driver it should behave like session it should behave like fill_in#fill_in should fill in a text field respecting its maxlength attribute
Failure/Error: extract_results(@session)['zipcode'].should == '52071'
expected: "52071"
got: "52071350" (using ==) |
Added a test to reproduce the bug |
Filed bug report at HTMLUnit https://sourceforge.net/tracker/index.php?func=detail&aid=3425894&group_id=47038&atid=448266# |
This issue should be solved now in the branch https://github.com/Nerian/akephalos2/tree/variable_htmlunit Put this in your Gemfile:
And this in your spec_helper:
|
I merged the branch with master. Let me know if any new bug arises. Closing. |
Thanks for the updates/work. Just installed 2.1.1.1 and ran test suite on real application. Didn't get original error, but did get another one. Haven't updated demo project yet, but will when I get a chance. Will also create a new issue since it's a different error. |
A simple project [1] passes using akephalos-0.2.5 but akephalos2-2.0.7 yields this error:
when clicking a button. The project is rails 2.3.11 on ruby 1.9.2-p180 and the error occurred on both Mac OS X 10.6 and 10.7.
[1] https://github.com/phillipkoebbe/akephalos-mootools
The text was updated successfully, but these errors were encountered: