Releases: fhoeben/hsac-fitnesse-fixtures
1.10.5
1.10.4
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
1.10.1
1.10.0
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
1.9.1
1.9.0
- 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 toMilliseconds
. - Removed method
BrowserTest.spaceNormalized()
(usingStringFixture
's instead).
.
1.8.0
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 usingstoryboard
can use normalscenarios
ortable templates
- No more need to configure its symbols and Slim tables via plugin.properties
- No more need for (or support of)
- 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
- 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, andbuttons
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 theiroptions
- no longer selects
hidden
inputs whosevalue
matches a place specified in a wiki page