mercredi 30 septembre 2015

Setting up Cucumber Testing Framework on a Mac

I have very little experience setting up automated testing. I've had success setting up Cucumber on a windows machine and managed to make the example tests pass, but now that I've switched to a Mac, Cucumber spits out this error after trying to run the example tests:

@dev
Scenario:                                           
Given I am a new user                             
When I navigate to "/"                             
Then I should see the title "intentional failure"  

TypeError: Object true has no method 'getTitle' at World.<anonymous>
(features/step_definitions/sample_steps.js:23:9)

I'm not sure what I've done wrong! Any help would be appreciated.

Aucun commentaire:

Enregistrer un commentaire