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.7.0 (2014-02-03)

  • ContentTreeWidget: support filling objects as values. [jone]

1.6.1 (2014-01-31)

  • Implement logout on browser, logout before each login. [jone]

1.6.0 (2014-01-29)

  • Add cookies property to the browser. [jone]

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

This version

1.7.0

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.7.0.zip (76.5 kB view details)

Uploaded Source

File details

Details for the file ftw.testbrowser-1.7.0.zip.

File metadata

  • Download URL: ftw.testbrowser-1.7.0.zip
  • Upload date:
  • Size: 76.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ftw.testbrowser-1.7.0.zip
Algorithm Hash digest
SHA256 67e95c833b0aca134097b598b0d663de5344ad8ed687459a3373b0cd243bf421
MD5 2098c3fd3d3c4defe9d20ef96187d863
BLAKE2b-256 6021167f3b8c45dc6b5ef6c675c164d03c17e4dcd719c965495ef2db06b93aa0

See more details on using hashes here.

Supported by

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