Skip to content

Instantly share code, notes, and snippets.

@shulard
shulard / login.feature
Last active November 12, 2015 08:48
Behat sample features
Feature: Login
In order to use my application
As a website user
I need to be logged
Scenario: Try to log as a valid user
Given I am authenticated as "admin"
Then I should be on "/sites"
Scenario: Try to log with invalid credentials