Skip to main content

A test browser for Zope and Plone.

Project description

ftw.testbrowser

Package documentation

ftw.testbrowser is a browser library for testing Plone web sites and applications. It integrations directly into Plone / Zope and uses lxml for parsing and querying pages. It supports all the basic features such as filling forms.

Changelog

1.5.3 (2014-01-28)

  • Fix multiple wrapping on browser.forms. [jone]

1.5.2 (2014-01-17)

  • Implement archetypes datetime widget form filling. [jone]

1.5.1 (2014-01-07)

  • Fix encoding problems when posting unicode data directly with Browser.open. [jone]

  • Support form filling with bytestrings. [jone]

  • Fix form filling with umlauts. [jone]

  • Fix form fill for single select fields. [jone]

1.5.0 (2014-01-03)

  • Implement AT file upload widget, because the label does not work. [jone]

  • Implement file uploads. [jone]

  • Add “headers” property on the browser. [jone]

1.4.0 (2013-12-27)

  • Deprecate normalized_text method, replace it with text property. The text property is more intuitive and easier to remember. The text property has almost the same result as normalized_text, but it represents <br/> and <p> with single and double newlines respectively. text is to be the lxml text property, which contained the raw, non-recursive text of the current node and is now available as raw_text property. [jone]

  • open_html: make debugging file contain passed HTML. [jone]

  • Sequence widget: implement custom form filling with label support and validation. [jone]

  • Sequence widget: add additional properties with inputs and options. [jone]

1.3.0 (2013-12-11)

  • Implement “query” method on autocomplete widget. [jone]

  • Implement form fill for z3cform datetime widget. [jone]

  • Fix setting attributes on nodes when wrapped with NodeWrapper. [jone]

  • Implement form fill for z3cform autocomplete widgets. [jone]

  • Implement form fill for z3cform sequence widgets. [jone]

  • Add webdav method for doing WebDAV requests with a ZServer. [jone]

1.2.0 (2013-11-24)

  • Add open_html method to browser object, allowing to pass in HTML directly. [jone]

1.1.0 (2013-11-07)

  • Add dexterity page object, refactor z3cform page object. [jone]

  • Add table nodes with helpers for table testing. [jone]

  • Merging “Nodes” lists returns a new “Nodes” list, not a “list”. [jone]

  • Show containing elements in string representation of “Nodes” list. [jone]

  • Fix direct child selection with CSS (node.css(“>tag”)). [jone]

  • Add a recursive option to normalized_text. [jone]

1.0.2 (2013-10-31)

  • When normalizing whitespaces, do also replace non-breaking spaces. [jone]

1.0.1 (2013-10-31)

  • Add first_or_none property to Nodes. [jone]

1.0.0 (2013-10-28)

  • Initial implementation. [jone]

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ftw.testbrowser-1.5.3.zip (74.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page