Skip to content

Releases: fhoeben/hsac-fitnesse-fixtures

1.10.5

14 May 19:34
Compare
Choose a tag to compare

This release introduces

  • support in HttpTest to send DELETE requests (delete <url>)
  • JsonTest can post its values as the properties of an object (post values as son to <url>)

Furthermore it adds some minor fixes.

1.10.4

09 May 11:57
Compare
Choose a tag to compare

This release mostly contains code cleanup related to testing sites with Angular.

A couple extension have been added to BrowserTest:

  • By default a small wait (150ms) is introduced after scrolling (to allow the browser to complete the scroll).
  • BrowserTest does a basic check to determine whether it is acting on an Angular site, and if so will wait for Angular to complete before acting on the page (so in many cases there no longer is a need to use NgBrowserTest).
  • BrowserTest allows arbitrary elements to be clicked or waited on using an xPath expression (this does not give very robust test scripts so use with care).

NgBrowserTest changes:

  • The test will be aborted if Angular is not found on the page.
  • Subclasses can control which methods require waiting on Angular, and which don't.

Furthermore some updates on external components included in the standalone version:

  • Chromedriver 2.15
  • HSAC FitNesse plugin 1.11.1

1.10.3

03 May 09:05
Compare
Choose a tag to compare

Further improved exception handling by BrowserTest.
Ensured UTF-8 encoding of report XML generated by jUnit tests using HsacFitNesseRunner.

1.10.1

30 Apr 20:38
Compare
Choose a tag to compare
  • Minor bugfixes to exception handling by BrowserTest.
  • Improvements to documentation of BrowserTest.
  • Ensure we allow system properties to override test run settings in integration test, not Maven properties.

1.10.0

25 Apr 13:19
Compare
Choose a tag to compare

Includes latest version of FitNesse, 20150424.

Extra methods in BrowserTest to

  • get JavaScript alert text
  • delete all cookies

Allow default timeout of BrowserTest to be configured using system property 'seleniumDefaultTimeout'.
When BrowserTest is unable to click an element we throw an exception (including screenshot) instead of just returning false.

Uses its own Slim FixtureInteraction to use an 'aspect oriented' approach to:

  • Make BrowserTest methods that throw an Exception include a screenshot
  • Have NgBrowserTest wait for Angular before most of its methods, without having to add/override all methods defined by superclasses to include an explicit waitForAngular call.

Included a extra jUnit RunListener to output test suite progress to console during a test run (for build servers that don't show jUnit test progress during a run).

1.9.2

14 Apr 19:57
Compare
Choose a tag to compare

New in this release:

  • using PhantomJs in BrowserTest is facilitated
  • small bug fix in StringFixture.replaceAllInWith()

1.9.1

13 Apr 19:37
Compare
Choose a tag to compare

Release with pom.xml sufficient for publication to Maven central

1.9.0

12 Apr 19:18
Compare
Choose a tag to compare
  • More extensive AngularJs support.
  • Added JsonHttpTest to test JSON services using JsonPath expressions.
  • Added documentation on how to override Selenium driver configuration in build server run.
  • Some additional methods, and fixes, in BrowserTest.

Breaking changes:

  • Renamed methods with MilliSeconds in their name to Milliseconds.
  • Removed method BrowserTest.spaceNormalized() (using StringFixture's instead).

.

1.8.0

28 Feb 10:15
Compare
Choose a tag to compare

This release:

  • Uses the latest FitNesse (20150226)
    • Allow running integration tests in parallel (no more port conflicts on Slim)
    • Requires the configuration of slim.timeout variable (if a timeout for a single command takes more than a couple of seconds)
    • Support of graceful naming in scenario output parameters
  • Incorporates the latest hsac-fitnesse-plugin (1.9.0)
    • No more need for (or support of) template storyboard: decision tables using storyboard can use normal scenarios or table templates
    • No more need to configure its symbols and Slim tables via plugin.properties
  • First stab at AngularJs support (via NgBrowserTest), this is intended as starting point for people testing Angular applications
  • Some extra methods in StringFixture

1.7.1

24 Feb 10:54
Compare
Choose a tag to compare
  • Uses hsac-fitnesse-plugin 1.8.2, to improve storyboard exception handling
  • BrowserTest:
    • shows screenshot when timeout waiting.
    • supports for down- and uploading of files.
    • also finds inputs based on the text of elements inside their labels, and buttons based on text of elements inside them (and not only when the text is immediately in the label or button)
    • improved support to for select elements and their options
    • no longer selects hidden inputs whose value matches a place specified in a wiki page