hspec-webdriver

Write end2end web application tests using webdriver and hspec https://bitbucket.org/wuzzeb/webdriver-utils

Version on this page:1.1.0
LTS Haskell 11.22:1.2.0
Stackage Nightly 2018-03-12:1.2.0
Latest on Hackage:1.2.0

See all snapshots hspec-webdriver appears in

MIT licensed and maintained by John Lenz

Module documentation for 1.1.0

This version can be pinned in stack with:[email protected]:b9b5aa7eac5096cda6a98fb3c7b22543516b47071375852bbe1a127b0fc4c204,1702

This package integrates hspec with hs-webdriver, allowing you to write webdriver tests using hspec. This package contains no code testing the hspec-webdriver package itself. The webdriver-angular package contains some test code which test both the Angular webdriver commands in webdriver-angular and some tests of functions in hspec-webdriver.

Changes

1.1.0

  • Support for webdriver 0.8. The API in hspec-webdriver itself did not change, but we re-export WebDriver.Commands so I bumped the major version. In fact, there were only a few minor changes in the Commands module (most of the changes in webdriver were to session management which is handled internally), so it is likely that your test suite will compile without changes.

1.0.3

  • Allow newer versions of hspec and HUnit

1.0.2

  • Fix so that the package builds against webdriver 0.6.1

1.0.1

  • Increase upper bound on hspec to allow hspec 2.1

1.0.0

  • Update to hspec2. All the same features are present but some of the types changed to reflect hspec2 types.

0.3.2

  • Update to the new hspec 1.12 API

0.3.1

  • Convert inspectSession to turn into a pending example instead of throwing an error.

0.3.0

  • Add support for testing multiple sessions at once

    • multiSession, multiSessionWith, and runWDWith are the new functions
    • the type of runWD and WDExample changed
  • Update to hspec 0.11 and webdriver 0.6

    • changed sessionOn to sessionWith to work with new webdriver WDConfig
    • TestCapabilities(newCaps) changed type to @c -> IO [email protected]

0.2.3

  • Add inspectSession to assist debugging the test suite

0.2.2

  • Allow newer version of hspec

0.2.1

  • Allow newer version of hspec

0.2.0

  • Convert to use webdriver sessions

0.1.0

  • Initial Release