Skip to content

Releases: mojotech/pioneer

v0.11.7

Choose a tag to compare

@sethkrasnianski sethkrasnianski released this 07 Oct 20:53
Merge pull request #333 from bruz/master

Update scaffold for changes in the TodoMVC app

v0.11.0

Choose a tag to compare

@samccone samccone released this 08 Jan 14:48

Features

  • Driver is now exposed on the world.
  • getItemClass is now available to lookup a itemClass at instantiation time of a List.
  • Finding by text now respects the internal global.timeout instead of failing right away.
  • Test runs now have a clean output options (omitting message about the configPath)
  • Enable the ability to toggle the visibility of the extra test run output, such as duration.

Fixes

  • Update chai version to fix peer dependency issue
  • Update todo mvc test link
  • Doc consistency fixes

v0.10.6-pre

v0.10.6-pre Pre-release
Pre-release

Choose a tag to compare

@samccone samccone released this 08 Oct 13:50

Fixes

  • Adds internal wait to text based finds.

v0.10.5

Choose a tag to compare

@samccone samccone released this 30 Sep 18:29

Fixes

Pioneer bin file is now hardened for windows environments.

v0.10.4

Choose a tag to compare

@samccone samccone released this 25 Sep 14:25

Allow pioneer to be run with command line args alone.

pioneer features --require=steps --require=widgets now will work.

v0.10.3

Choose a tag to compare

@samccone samccone released this 14 Sep 02:57

Features

You are now able to mark steps as pending using the this.Pending() syntax.

Windows Support

Pioneer, now works under windows.

v0.10.2

Choose a tag to compare

@samccone samccone released this 11 Sep 17:01
Widget.list

The list widget now has a has a length method to enable simple assertions about the number of child items.
Cleanups

v0.10.0

Choose a tag to compare

@samccone samccone released this 29 Aug 20:01

Breaking Changes

  • findAll allows you to find a list of matching elements on a page. It returns a promise that resolves with a new Widget List with the same root as the widget that invoked findAll. The itemSelector of the new Widget.List will be the selector argument passed.
  • submitSelector no longer takes a node input. If you would like to use a submit selector other than [type="submit"] then you can override the submitSelector method

Widget.Form

  • readAll now calls getValue on each field as opposed to read

v0.9.0

Choose a tag to compare

@samccone samccone released this 26 Aug 19:59

Breaking Changes

  • Widget fill method now clears the element before sending the value
  • Pioneer no longer looks for a .pioneer.json file to read configuration options from. Instead it will look for a pioneer.json file.

Widget

Helpers
  • hasClass will test the existence of the provided class name on the DOM node of the Widget. It takes a hash that can contain an optional selector. If you only pass a string to the method and not an object then it will use the string as the class name. It returns a promise that will resolve with true or false.
  • sendKeys now supports hash style arguments, including an optional selector.
  • clear calls the webdriver clear method. It takes a hash that supports an optional selector to scope the clear operation. If only a string is passed to clear, and not an object then it will use it as a selector for the find operation. It returns a promise that resolves with a widget.
new this.Widget({
  root: .some-div”
}).sendKeys({
  selector: “input”,
  keys: [
    "wow",
    Driver.Key.SPACE,
    "pioneer",
    Driver.Key.ENTER
  ]
})
Static Methods
  • Static methods can be used for situations where you do not want to declare a new Widget to do something.
  • Static methods introduced for the following widget helpers:
    • click
    • fill
    • hover
    • doubleClick
    • read
    • isPresent
    • isVisible
    • getAttribute
    • getValue
    • getText
    • getInnerHTML
    • getOuterHTML
    • hasClass
    • sendKeys
    • clear

Command Line Flags

  • Version: --version or -v may now be passed to display the current version of Pioneer

Driver

  • driver.visit aliased to driver.get

Format

  • pioneer format no longer displays the filename and line number of each scenario and step. Instead it will display the feature file at the beginning of each feature

0.8.2

Choose a tag to compare

@samccone samccone released this 22 Aug 14:23

Fixes

  • Fix incorrect exit code on failure