2022-08-12 15:51:33 +00:00
|
|
|
Feature: User Identity
|
|
|
|
|
|
|
|
As a user I want to set my identity, that is: display name, bio and social links.
|
|
|
|
|
2022-12-16 18:24:51 +00:00
|
|
|
The feature start sequence follows the global one (setup on global `bdd_hooks`): No additional steps
|
2022-08-29 18:03:50 +00:00
|
|
|
|
2022-12-16 18:24:51 +00:00
|
|
|
Background: Sign up and open settings section
|
|
|
|
Given A first time user lands on the status desktop and generates new key
|
|
|
|
And the user signs up with username "tester123" and password "TesTEr16843/!@00"
|
|
|
|
And the user lands on the signed in app
|
2022-11-16 12:06:37 +00:00
|
|
|
|
2022-12-16 18:24:51 +00:00
|
|
|
Scenario Outline: The user sets display name, bio and social links
|
|
|
|
Given the user opens app settings screen
|
2022-08-12 15:51:33 +00:00
|
|
|
And the user opens the profile settings
|
2022-12-16 18:24:51 +00:00
|
|
|
And the user's display name is "tester123"
|
|
|
|
And the user's bio is empty
|
|
|
|
And the user's social links are empty
|
|
|
|
|
|
|
|
When the user sets display name to "<user>"
|
|
|
|
And the user sets bio to "<bio>"
|
|
|
|
And the user sets social links to:
|
|
|
|
| testerTwitter |
|
|
|
|
| status.im |
|
|
|
|
| testerGithub |
|
|
|
|
| testerTube |
|
|
|
|
| testerDiscord |
|
|
|
|
| testerTelegram |
|
|
|
|
| customLink |
|
|
|
|
| https://status.im/ |
|
2022-08-12 15:51:33 +00:00
|
|
|
And the user restarts the app
|
2022-12-16 18:24:51 +00:00
|
|
|
And the user "<user>" logs in with password "TesTEr16843/!@00"
|
|
|
|
And the user lands on the signed in app
|
|
|
|
And the user opens app settings screen
|
2022-08-12 15:51:33 +00:00
|
|
|
And the user opens the profile settings
|
2022-12-16 18:24:51 +00:00
|
|
|
|
|
|
|
Then the user's display name is "<user>"
|
|
|
|
And the user's bio is "<bio>"
|
|
|
|
And the user's social links are:
|
|
|
|
| testerTwitter |
|
|
|
|
| status.im |
|
|
|
|
| testerGithub |
|
|
|
|
| testerTube |
|
|
|
|
| testerDiscord |
|
|
|
|
| testerTelegram |
|
|
|
|
| customLink |
|
|
|
|
| https://status.im/ |
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| user | bio |
|
|
|
|
| tester123_changed | Hello, I am super tester! |
|
|
|
|
|
|
|
|
Scenario Outline: The user can change own display name in profile popup
|
|
|
|
Given the user opens own profile popup
|
|
|
|
And the user's display name is "tester123"
|
|
|
|
When the user navigates to edit profile
|
|
|
|
And the user sets display name to "<user>"
|
|
|
|
And the user opens own profile popup
|
|
|
|
Then the user's display name is "<user>"
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| user |
|
2023-04-24 09:39:07 +00:00
|
|
|
| tester123_changed |
|