2022-05-26 15:00:00 +00:00
|
|
|
#******************************************************************************
|
|
|
|
# Status.im
|
|
|
|
#*****************************************************************************/
|
|
|
|
#/**
|
|
|
|
# * \file test.feature
|
|
|
|
# *
|
|
|
|
# * \test Status Desktop - Login
|
|
|
|
# * \date February 2022
|
|
|
|
# **
|
|
|
|
# *****************************************************************************/
|
|
|
|
|
|
|
|
Feature: Status Desktop login
|
|
|
|
|
|
|
|
As a user I want to login into the Status Desktop application.
|
|
|
|
|
|
|
|
The following scenarios cover login by using a password.
|
|
|
|
|
2022-11-17 14:06:36 +00:00
|
|
|
The feature start sequence follows the global one (setup on global `bdd_hooks`): No additional steps
|
|
|
|
|
2022-05-26 15:00:00 +00:00
|
|
|
Scenario Outline: User tries to login with a valid password
|
2022-08-05 19:52:34 +00:00
|
|
|
Given A first time user lands on the status desktop and generates new key
|
2022-11-16 12:06:37 +00:00
|
|
|
And the user signs up with username "<username>" and password "<password>"
|
|
|
|
And the user lands on the signed in app
|
2022-08-05 19:52:34 +00:00
|
|
|
When the user restarts the app
|
2022-10-19 10:39:48 +00:00
|
|
|
And the user "<username>" logs in with password "<password>"
|
2022-08-05 19:52:34 +00:00
|
|
|
Then the user lands on the signed in app
|
|
|
|
|
|
|
|
Examples:
|
2022-07-20 12:14:50 +00:00
|
|
|
| username | password |
|
2022-05-26 15:00:00 +00:00
|
|
|
| Athletic_Prime | TesTEr16843/!@00 |
|
|
|
|
|
2022-06-01 02:43:53 +00:00
|
|
|
Scenario Outline: User tries to login with an invalid password
|
2022-08-05 19:52:34 +00:00
|
|
|
Given A first time user lands on the status desktop and generates new key
|
2022-11-16 12:06:37 +00:00
|
|
|
And the user signs up with username "<username>" and password "<password>"
|
|
|
|
And the user lands on the signed in app
|
2022-08-05 19:52:34 +00:00
|
|
|
When the user restarts the app
|
2022-10-19 10:39:48 +00:00
|
|
|
And the user "<username>" logs in with password "<wrongpassword>"
|
2022-08-05 19:52:34 +00:00
|
|
|
Then the user is NOT able to login to Status Desktop application
|
2022-11-17 14:06:36 +00:00
|
|
|
|
|
|
|
Examples:
|
|
|
|
| username | password | wrongpassword |
|
|
|
|
| Nervous_Pesky | TesTEr16843/!@22 | WrongPSW |
|