mercredi 13 avril 2016

Behat not working with the simplest of tests

I'm using Behat with Mink to black box test my application. I've got a decent idea of how Behat works, but currently I can't even get one test to successfully work. Here's a picture of what's happening.

Here's an image of my homepage Homepage

As you can see, there is clearly a text element that says "hello". This is simply a heading. Now in Behat, I have a test to ensure that I'm at the homepage, which looks for this text element:

Behat Homepage Test

Here's what I get when I run the test:

Terminal test

Honestly, I'm stuck and incredibly frustrated. Here's a look at my Behat.yml file

Behat.yml file

Any help would be SUPER appreciated! :)

Aucun commentaire:

Enregistrer un commentaire