Created
May 9, 2016 15:36
-
-
Save cAstraea/d5130181436458a9ffb9074831f17f18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Login | |
In order to gain access to the skoazell interface | |
As a web user | |
I need to login | |
@javascript | |
Scenario: Loggin in with correct username and password | |
Given I am on "/" | |
When I fill in "form-_username" with "admin@gmail.com" | |
When I fill in "form-_password" with "123" | |
And I press "login_submit" | |
Then I should see "Demandes d'assistance" | |
Given I go to "http://127.0.0.1:8080/logout" | |
Then I should see "Connection" | |
Then I should be on "http://127.0.0.1:8080/login" | |
@javascript | |
Scenario: Logging on with wrong username and password | |
Given I am on "/" | |
When I fill in "form-_username" with "admin" | |
And I press "login_submit" | |
Then I should see "Invalid credentials." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment