Created
November 4, 2013 17:52
-
-
Save SebSept/7306543 to your computer and use it in GitHub Desktop.
just a test with behat / mink / selenium
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
# features/login.feature | |
Feature: login | |
Vérification que user peut se logger | |
Scenario: accueil du site -> click sur s'identifier -> saisir données et vérifier que loggé | |
Given I am on homepage | |
Then I should see "Bienvenue, identifiez-vous" in the "p#header_user_info" element | |
When I follow "identifiez-vous" | |
Then I should see "Déjà enregistré ?" | |
And fill in "email" with "user@localhost.fr" | |
And fill in "passwd" with "passpass" | |
Then press "SubmitLogin" | |
Then I should see "Bienvenue, Pipa Pipo (déconnexion)" in the "p#header_user_info" element |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment