Logo: Relish

  1. Sign in

Project: Rus-kami

Log in

Is a steps of authorization

Background
Given
an user with name "Vasya", password "secret"
Scenarios
Log in
When
I visit "/login"
And
I fill name with "name"
And
I fill password with "password"
And
I press login
Then
I redirected to "path"
And
I see notification: "message"
Examples: With good credentials
name password path notification message
Vasya secret / notice Successful login
Examples: With bad credentials
name password path notification message
secret /login alert Invalid user/password combination
Vasya /login alert Invalid user/password combination
/login alert Invalid user/password combination
Vasya fake /login alert Invalid user/password combination
Masya secret /login alert Invalid user/password combination

Last published about 5 years ago by plus3x.