-
Notifications
You must be signed in to change notification settings - Fork 36
/
OnboardingCreateWallet.feature
executable file
·274 lines (247 loc) · 12.9 KB
/
OnboardingCreateWallet.feature
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
@OnboardingCreateWallet @Onboarding @Testnet @Mainnet
Feature: Onboarding - Create wallet
@LW-2426
Scenario: Create Wallet - Get started page displayed
Then "Get started" page is displayed
@LW-10069
Scenario Outline: "Get started" page - Agreement text - Legal links - click on <legal_link> link
When "Get started" page is displayed
And I click on "<legal_link>" legal link on "Main page"
Then "<legal_link>" is displayed in new tab
Examples:
| legal_link |
| Privacy policy |
| Terms of service |
@LW-2433
Scenario: Create Wallet - Wallet setup page - back button
Given I click "Create" button on wallet setup page
And I go to "Wallet setup" page from "Create" wallet flow
When I click "Back" button during wallet setup
Then "Mnemonic verification" page is displayed from "Create wallet" flow with 24 words
@LW-2434
Scenario: Create Wallet - Name your wallet - Enter wallet button disabled for empty wallet name
Given I click "Create" button on wallet setup page
And I go to "Wallet setup" page from "Create" wallet flow
When I enter wallet name: "empty"
Then "Next" button is disabled during onboarding process
@LW-2975
Scenario Outline: Create Wallet - Set password - Recommendation for password: <passw_err>, password: <password>, password confirmation: <password_conf>
Given I click "Create" button on wallet setup page
And I go to "Wallet setup" page from "Create" wallet flow and "not fill" values
When I enter wallet name: "wallet", password: "<password>" and password confirmation: "<password_conf>"
Then Password recommendation: "<passw_err>", complexity bar level: "<complex_bar_lvl>" and password confirmation error: "<passw_conf_err>" are displayed
Examples:
| password | password_conf | passw_err | complex_bar_lvl | passw_conf_err |
| a | | core.walletNameAndPasswordSetupStep.firstLevelPasswordStrengthFeedback | 1 | empty |
| P@ss | | core.walletNameAndPasswordSetupStep.firstLevelPasswordStrengthFeedback | 1 | empty |
| N_8J@bne | | core.walletNameAndPasswordSetupStep.secondLevelPasswordStrengthFeedback | 2 | empty |
| N_8J@bne87 | | empty | 3 | empty |
| N_8J@bne87A | N_8J@bne87 | empty | 4 | core.walletSetupRegisterStep.noMatchPassword |
@LW-3013
Scenario: Create Wallet - Mnemonic writedown page - appears correctly after wallet setup page
Given I click "Create" button on wallet setup page
Then "Mnemonic writedown" page is displayed with 24 words
And "Next" button is enabled during onboarding process
@LW-3014
Scenario: Create Wallet - Mnemonic writedown - Back button click
Given I click "Create" button on wallet setup page
When I click "Back" button during wallet setup
Then "Get started" page is displayed
@LW-1553
Scenario: Create Wallet - Mnemonic writedown - Subtitle link click
Given I click "Create" button on wallet setup page
When I click on "Watch video" link on "Mnemonic writedown" page
Then I see "Watch video" modal
When I click "Read More" link in modal
Then I see a "FAQ" article with title "What is my recovery phrase?"
@LW-2251
Scenario: Create Wallet - Mnemonic writedown - "Help and support" button click
Given I click "Create" button on wallet setup page
And "Mnemonic writedown" page is displayed with 24 words
When I click "Help and support" button during wallet setup
Then I see "Help and support" page
@LW-2435
Scenario: Create Wallet - Mnemonic writedown page - next button
Given I click "Create" button on wallet setup page
And "Mnemonic writedown" page is displayed with 24 words
When I click "Next" button during wallet setup
Then "Mnemonic verification" page is displayed from "Create wallet" flow with 24 words
@LW-2439
Scenario: Create Wallet - Mnemonic verification page displayed
Given I click "Create" button on wallet setup page
And "Mnemonic writedown" page is displayed with 24 words
And I click "Next" button during wallet setup
Then "Mnemonic verification" page is displayed from "Create wallet" flow with 24 words
And "Next" button is disabled during onboarding process
@LW-2441
Scenario: Create Wallet - Mnemonic verification - back button to start over and cancel
Given I click "Create" button on wallet setup page
And "Mnemonic writedown" page is displayed with 24 words
And I click "Next" button during wallet setup
Then "Mnemonic verification" page is displayed from "Create wallet" flow with 24 words
And I click "Back" button during wallet setup
When I click "Cancel" button on "Are you sure you want to start again?" modal
Then "Mnemonic verification" page is displayed from "Create wallet" flow with 24 words
@LW-2442
Scenario: Create Wallet - Mnemonic verification - back button to start over and new words
Given I click "Create" button on wallet setup page
And "Mnemonic writedown" page is displayed with 24 words
And I click "Next" button during wallet setup
Then "Mnemonic verification" page is displayed from "Create wallet" flow with 24 words
And I click "Back" button during wallet setup
When I click "OK" button on "Are you sure you want to start again?" modal
Then "Mnemonic writedown" page is displayed with 24 words
@LW-2443
Scenario: Create Wallet - Mnemonic verification - fill all fields - happy path
Given I click "Create" button on wallet setup page
And I go to "Mnemonic verification" page from "Create" wallet flow
Then "Next" button is enabled during onboarding process
@LW-3212
Scenario: Create Wallet - Mnemonic verification - all empty fields - next disabled
Given I click "Create" button on wallet setup page
And I go to "Mnemonic verification" page from "Create" wallet flow and "not fill" values
Then "Next" button is disabled during onboarding process
@LW-3213
Scenario: Create Wallet - Mnemonic verification - clear one of fields - next disabled
Given I click "Create" button on wallet setup page
And I go to "Mnemonic verification" page from "Create" wallet flow
Then "Next" button is enabled during onboarding process
And I clear one random field
Then "Next" button is disabled during onboarding process
@LW-2444
Scenario: Create Wallet - Mnemonic verification - fill all fields - wrong mnemonic
Given I click "Create" button on wallet setup page
And I go to "Mnemonic verification" page from "Create" wallet flow
When I add characters "qwe" in word 7
Then "Next" button is disabled during onboarding process
@LW-2445 @Smoke
Scenario: Create Wallet - All done page - happy path
Given I click "Create" button on wallet setup page
And I go to "Wallet setup" page from "Create" wallet flow
When I click "Enter wallet" button
Then I see LW homepage
@LW-3060
Scenario: Extended view - Settings - Analytics enabled/disabled when creating a wallet
Given I click "Create" button on wallet setup page
And I go to "Mnemonic verification" page from "Create" wallet flow
And I click "Next" button during wallet setup
And I enter wallet name: "ValidName", password: "N_8J@bne87A" and password confirmation: "N_8J@bne87A"
When I click "Enter wallet" button
And I see LW homepage
And I open settings from header menu
Then Analytics toggle is enabled: true
When I open settings from header menu
And I click on Remove wallet button
And I click "Remove wallet" button on "Remove wallet" modal
And I reject analytics banner on "Get started" page
Given I click "Create" button on wallet setup page
And I go to "Mnemonic verification" page from "Create" wallet flow
And I click "Next" button during wallet setup
And I enter wallet name: "ValidName", password: "N_8J@bne87A" and password confirmation: "N_8J@bne87A"
When I click "Enter wallet" button
And I see LW homepage
And I open settings from header menu
Then Analytics toggle is enabled: false
@LW-2627
Scenario: Create Wallet - autofill words
When I click "Create" button on wallet setup page
And "Mnemonic writedown" page is displayed with 24 words
And I click "Next" button during wallet setup
Then "Mnemonic verification" page is displayed from "Create wallet" flow with 24 words
When I fill mnemonic input with "s"
Then I see following autocomplete options:
| sad |
| saddle |
| sadness |
And I click header to lose focus
Then I do not see autocomplete options list
And I click on mnemonic input
Then I see following autocomplete options:
| sad |
| saddle |
| sadness |
When I fill mnemonic input with "se"
Then I see following autocomplete options:
| sea |
| search |
| season |
When I fill mnemonic input with "sef"
Then I do not see autocomplete options list
When I fill mnemonic input with "SE"
Then I see following autocomplete options:
| sea |
| search |
| season |
When I fill mnemonic input with "ą"
Then I do not see autocomplete options list
@LW-4543 @LW-4548
Scenario Outline: Create wallet - Limit the wallet name input - Realtime error when inputs name with size of <value> character
When I click "Create" button on wallet setup page
And I go to "Wallet setup" page from "Create" wallet flow
Then "Wallet setup" page is displayed
When I enter wallet name with size of: <value> characters
Then wallet name error "core.walletSetupRegisterStep.nameMaxLength" <is_displayed> displayed
And "Next" button is <is_disabled> during onboarding process
Examples:
| value | is_displayed | is_disabled |
| 20 | is not | enabled |
| 21 | is | disabled |
@LW-5844
Scenario Outline: "Get started" page - Legal links in footer - click on <legal_link> link
When "Get started" page is displayed
And I click on "<legal_link>" legal link
Then "<legal_link>" is displayed in new tab
Examples:
| legal_link |
| Cookie policy |
| Privacy policy |
| Terms of service |
@LW-4993
Scenario Outline: Create Wallet - <mode> theme applied to onboarding pages
Given I set <mode> theme mode in Local Storage
When "Get started" page is displayed
And I click "Create" button on wallet setup page
Then I see current onboarding page in <mode> mode
When "Mnemonic writedown" page is displayed with 24 words
Then I see current onboarding page in <mode> mode
And I save mnemonic words
And I click "Next" button during wallet setup
When "Mnemonic verification" page is displayed from "Create wallet" flow with 24 words
Then I see current onboarding page in <mode> mode
And I enter saved mnemonic words
And I click "Next" button during wallet setup
When "Wallet setup" page is displayed
Then I see current onboarding page in <mode> mode
And I enter wallet name: "someWallet", password: "N_8J@bne87A" and password confirmation: "N_8J@bne87A"
Then "Enter wallet" button is enabled
And I see current onboarding page in <mode> mode
And I clear saved words
Examples:
| mode |
| dark |
| light |
@LW-8500
Scenario: Create Wallet - Mnemonic verification - incorrect word
Given I click "Create" button on wallet setup page
And I go to "Mnemonic verification" page from "Create" wallet flow
And I change one random field
Then I see incorrect passphrase error displayed
And "Next" button is disabled during onboarding process
When I restore previously changed mnemonic word
Then I do not see incorrect passphrase error displayed
And "Next" button is enabled during onboarding process
@LW-8501
Scenario: Create Wallet - Mnemonic verification - incorrect word order
Given I click "Create" button on wallet setup page
Then "Mnemonic writedown" page is displayed with 24 words
And I save mnemonic words
And I click "Next" button during wallet setup
When I fill passphrase fields using saved 24 words mnemonic in incorrect order
Then I see incorrect passphrase error displayed
And "Next" button is disabled during onboarding process
When I enter saved mnemonic words
Then "Next" button is enabled during onboarding process
@LW-10138
Scenario: Create Wallet - Analytics banner is displayed correctly
Given I enable showing Analytics consent banner
Then I see Analytics banner displayed correctly