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
|
|
|
|
When user signs up with username <username> and password <password>
|
|
|
|
Then the user lands on the signed in app
|
|
|
|
When the user restarts the app
|
|
|
|
And the user <username> logs in with password <password>
|
|
|
|
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 |
|
|
|
|
| Nervous_Pesky | TesTEr16843/!@11 |
|
|
|
|
| Granular_Diligent| TesTEr16843/!@22 |
|
|
|
|
|
|
|
|
|
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
|
|
|
|
When user signs up with username <username> and password <password>
|
|
|
|
Then the user lands on the signed in app
|
|
|
|
When the user restarts the app
|
|
|
|
And the user <username> logs in with password <wrongpassword>
|
|
|
|
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 |
|