Hide Forgot
Description of problem: I'm working on a project that uses htmlunit browser in behat tests (unfortunately I can not provide sample code that would help to repeat the problem). Here is a behat scenario that works fine on travis-ci.com and other developers Windows machines but fails on my local Fedora 19 installation When I fill in the following: | Product Quantity | 1 | | Expected delivery | days-30 | | Product condition | like_new | | Resale option | none | And I press "Add" And I wait for 5 sec And I open cart And cart should contain 1 item And in cart should be item "FarCry" with quantity "1" and resale "none" When I fill in the following: | Product Quantity | 2 | And I press "Add" And I wait for 5 sec And cart should contain 1 item And in cart should be item "FarCry" with quantity "3" and resale "none" If I change last line in a scenario to And in cart should be item "FarCry" with quantity "1" and resale "none" it works fine. Basing on this I suspect that some part of javascript support in Fedora 19 htmlunit is broken. Some other javascript tests runs fine - for example if tests clicks css selector. I've got installed: htmlunit-2.9-5.fc19.noarch htmlunit-core-js-2.9-4.fc19.noarch Is there anything that can be done to get better javascript support in htmlunit browser? Best regards, Michal
which version use on other OS? for newer release should fix before this [1] there are too many problems reported here[2] related at java7 regards [1] https://bugzilla.redhat.com/show_bug.cgi?id=895429 , https://bugzilla.redhat.com/show_bug.cgi?id=1006510 [2] http://sourceforge.net/p/htmlunit/bugs/
It seems that problem is not related to htmlunit browser from OS. I removed it and some javascript tests works fine. I guess that htmlunit is shipped in selenium. So this problem is not related to Fedora. Best regards, Michal