Laravel 5 Behat Mink, cannot locate base_url

204 views Asked by At

I am new to BDD but my issue is that All my test Scenarios failed even though, I can see them working on browser. So I am guessing Behat must be pointing to a wrong URL which I can't figure out. My behat.yml content is:

default:

extensions:
    Laracasts\Behat\ServiceContainer\BehatExtension: ~
    Behat\MinkExtension\ServiceContainer\MinkExtension:
        base_url: http://localhost/omw/public
        default_session: laravel
        laravel: ~

What could be the reason why test like

Feature: Testing

In Order to understand Behat As a Developer

Scenario: homepage

When  I go to "/"
Then  I should see "hello"

should fail?

0

There are 0 answers