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.
|
|
|
|
|
|
|
|
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-10-19 10:39:48 +00:00
|
|
|
When user signs up with username "<username>" and password "<password>"
|
2022-08-05 19:52:34 +00:00
|
|
|
Then the user lands on the signed in app
|
|
|
|
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-09-20 12:22:04 +00:00
|
|
|
@merge
|
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-10-19 10:39:48 +00:00
|
|
|
When user signs up with username "<username>" and password "<password>"
|
2022-08-05 19:52:34 +00:00
|
|
|
Then the user lands on the signed in app
|
|
|
|
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
|
|
|
|
Examples:
|
|
|
|
| username | password | wrongpassword |
|
|
|
|
| Athletic_Prime | TesTEr16843/!@00 | Invalid34 |
|
|
|
|
| Granular_Diligent | TesTEr16843/!@11 | Testpwd |
|
|
|
|
| Nervous_Pesky | TesTEr16843/!@22 | WrongPSW |
|