FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tip4commit/features/bitcoin_address.feature at master · tip4commit/tip4commit · GitHub
tip4commit
tip4commit
Repository navigation
Code
Issues
54
(54)
Pull requests
13
(13)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
tip4commit
/
features
/
bitcoin_address.feature
Copy path
More file actions
More file actions
Latest commit
History
History
History
72 lines (64 loc) · 3.05 KB
Breadcrumbs
tip4commit
/
features
/
bitcoin_address.feature
Copy path
File metadata and controls
72 lines (64 loc) · 3.05 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
Feature
:
Users should be able to change their bitcoin address
Background
:
Given
a developer named
"seldon"
exists without a bitcoin address
And
I'm signed in as
"seldon"
@vcr-ignore-params
Scenario
:
Users should be able to set P2PKH address
Given
I visit the
"seldon user"
page
Then
I should see
"Bitcoin address"
When
I fill
"Bitcoin address"
with:
"1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2"
And
I click
"Update user info"
Then
I should see
"Your information saved!"
@vcr-ignore-params
Scenario
:
Users should not be able to set invalid P2PKH address
Given
I visit the
"seldon user"
page
Then
I should see
"Bitcoin address"
When
I fill
"Bitcoin address"
with:
"1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVA"
And
I click
"Update user info"
Then
I should not see
"Your information saved!"
And
I should see
"Bitcoin address is invalid"
@vcr-ignore-params
Scenario
:
Users should be able to set P2SH address
Given
I visit the
"seldon user"
page
Then
I should see
"Bitcoin address"
When
I fill
"Bitcoin address"
with:
"3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy"
And
I click
"Update user info"
Then
I should see
"Your information saved!"
@vcr-ignore-params
Scenario
:
Users should not be able to set invalid P2SH address
Given
I visit the
"seldon user"
page
Then
I should see
"Bitcoin address"
When
I fill
"Bitcoin address"
with:
"3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLA"
And
I click
"Update user info"
Then
I should not see
"Your information saved!"
And
I should see
"Bitcoin address is invalid"
@vcr-ignore-params
Scenario
:
Users should not be able to set testnet address
Given
I visit the
"seldon user"
page
Then
I should see
"Bitcoin address"
When
I fill
"Bitcoin address"
with:
"mtXWDB6k5yC5v7TcwKZHB89SUp85yCKshy"
And
I click
"Update user info"
Then
I should not see
"Your information saved!"
And
I should see
"Bitcoin address is invalid"
@vcr-ignore-params
Scenario
:
Users should be able to set Bech32 P2WPKH address
Given
I visit the
"seldon user"
page
Then
I should see
"Bitcoin address"
When
I fill
"Bitcoin address"
with:
"bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4"
And
I click
"Update user info"
Then
I should see
"Your information saved!"
@vcr-ignore-params
Scenario
:
Users should be able to set Bech32 P2WSH address
Given
I visit the
"seldon user"
page
Then
I should see
"Bitcoin address"
When
I fill
"Bitcoin address"
with:
"bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3"
And
I click
"Update user info"
Then
I should see
"Your information saved!"
@vcr-ignore-params
Scenario
:
Users should not be able to set testnet Bech32 address
Given
I visit the
"seldon user"
page
Then
I should see
"Bitcoin address"
When
I fill
"Bitcoin address"
with:
"tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsx"
And
I click
"Update user info"
Then
I should not see
"Your information saved!"
And
I should see
"Bitcoin address is invalid"
Back
|
FazBrowse Home
|
New Git URL