4teamwork / ftw.testbrowser

A testing browser for Plone.
http://ftwtestbrowser.readthedocs.io/
5 stars 1 forks source link

Issues with newest lxml version #70

Open shylux opened 7 years ago

shylux commented 7 years ago

When using lxml 3.8.0 i couldn't submit a file field. Or more precise i was able to fill it and submit it, but then a browser.debug() revealed an error that the file field was empty.

Example:

with asset('mario.gif').open('rb') as mario:
  browser.fill({'Image': mario}).save()
Rotonen commented 6 years ago

That was probably https://github.com/lxml/lxml/pull/199 introduced in 3.6.1.

For whatever reason this does not seem to happen anymore.

Tested and now we seem to be fine up to 4.1.1

4.2.0 breaks again with https://github.com/lxml/lxml/pull/255, though.