Skip to content

Instantly share code, notes, and snippets.

@elnur
Created May 14, 2014 13:03
Show Gist options
  • Select an option

  • Save elnur/ed53d4034748ed98a9ca to your computer and use it in GitHub Desktop.

Select an option

Save elnur/ed53d4034748ed98a9ca to your computer and use it in GitHub Desktop.
Aweful UI ridden scenario
Scenario: Successful login
Given a user "Elnur" with password "sw0rdf1sh"
And I am on "/app_test.php/login"
And I fill in "User name" with "Elnur"
And I fill in "Password" with "sw0rdf1sh"
When I press "Log in"
Then the status code should be 200
And I should be on "/app_test.php/home"
And I should see "Welcome, Elnur"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment