Wednesday, March 29, 2017

Behat - Laravel - CAS login user feature test

I am writing features using Behat in my Laravel projects. My scenarios are just to check if the user is logged in through CAS system successfully or fail.

  Scenario: Authentication
    Given I am on the homepage
    And I press "Login" button
    Then I should see "Login Successfully"

However, it's not working as I expected. Any idea?

Thanks much



via trinhdh

Advertisement