Hspec-webdriver build failure and cannot access the git repo

The library hspec-webdriver fails to build with stack on lts 14.14. I also cannot access the git repo to file an issue here https://bitbucket.org/wuzzeb/webdriver-utils

Can anyone help me out?

What about using a fresher package https://hackage.haskell.org/package/webdriver which is also available on Github? I didn’t check if it has any problems though…

Thanks for the response, I’m actually using that package but if you go to the documentation that you linked at the bottom there’s a section called “Integration with Haskell Testing Frameworks” that suggests hspec-webdriver.

I guess I should have read that, sorry…
I suppose https://github.com/wuzzeb belongs to the same person as https://bitbucket.org/wuzzeb/ so you could mail the address listed on that Github user page asking about the package.

That’s a good idea haha. I’ll try and contact them through github and post the solution (if any) here.

I never got in touch with the author but all I did was run the hspec transformer then webdriver and used liftIO to lift the IO monad to the WD monad

e.g.

registrationFailTest = hspec $ do
  describe "Registration Fails" $ do
    it "should fail" $ do
      runSession ffConfig $ do

        openPage $ baseUrl ++ "/signup"

        signUpFormElem <- findElem $ ById "signUpForm"
        usernameElem <- findElem $ ByName "signUpForm.username"
        passwordElem <- findElem $ ByName "signUpForm.passwordGroup.password"
        confirmElem <- findElem $ ByName "signUpForm.passwordGroup.confirmPassword"

        sendKeys "blah@blah.com" usernameElem
        sendKeys "" passwordElem
        sendKeys "" confirmElem

        submit signUpFormElem

        currentUrl <- getCurrentURL

        liftIO $ currentUrl `shouldBe` (baseUrl ++ "/signup")

        closeSession