forked from jorgeejgonzalez/fermat_cbp_specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCrypto_Customer_Identity_Creation.story
37 lines (33 loc) · 1.68 KB
/
Crypto_Customer_Identity_Creation.story
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Story: Crypto Customer Identity Creation
In order to use any Crypto Customer Wallet
I need to have an Identity as a Crypto Customer
Using the Crypto Customer SubApp Android plugin
And the Crypto Customer SubApp Module Java plugin
And the Crypto Customer Identity plugin
Scenario: First Crypto Customer Identity
Given I don't have any Crypto Customer Identities in Fermat
When I want to create an Identity in the Crypto Customer SubApp
And I provide an Alias
And I provide a Photo
Then the Crypto Customer Identity Java Plugin should Create a Private Key
And Derive a Public Key
And associate them with the Alias and the Photo
And the Crypto Customer SubApp should display it in a list of My Identities
Scenario: Multiple Crypto Customer Identities
Given I have already created a Crypto Customer Identity
When I want to create an Identity in the Crypto Customer SubApp
And I provide an Alias
And I provide a Photo
And the Alias has not been used before in my device
Then the Crypto Customer Identity Java Plugin should Create a Private Key
And Derive a Public Key
And associate them with the Alias and the Photo
And the Crypto Customer SubApp should display it in a list of My Identities
Scenario: Creation of a duplicated Crypto Customer Identity
Given I have already created a Crypto Customer Identity
When I want to create an Identity in the Crypto Customer SubApp
And I provide an Alias
And I provide an Image
And the Alias has already been used in my device
Then the Crypto Customer Identity Java Plugin should not be able to create a new Crypto Customer Identity
And the Crypto Customer SubApp should display an error message